home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.0 for Developers / QuickTime 1.0 for Developers.iso / Programming Stuff / Human Interface / Human Interface Demos / PICTcompressor Demo / PICTcompressor Demo.rsrc / CODE_11526_GRAPHICS.txt < prev    next >
Text File  |  1991-08-28  |  135KB  |  2,429 lines

  1. # near model CODE resource
  2. # jump table entries: 6096-6110 (15 of them)
  3. 00000000  4E56 0000                link       A6, 0
  4. 00000004  4E5E                     unlink     A6
  5. 00000006  4E75                     rts
  6. fn00000008:
  7. 00000008  4E56 FFFE                link       A6, -0x0002
  8. 0000000C  4267                     clr.w      -[A7]
  9. 0000000E  486D F522                pea.l      [A5 - 0xADE]
  10. 00000012  A8AE                     syscall    EmptyRect
  11. 00000014  101F                     move.b     D0, [A7]+
  12. 00000016  670E                     beq        +0x10 /* 00000026 */
  13. 00000018  206E 0008                movea.l    A0, [A6 + 0x8]
  14. 0000001C  43ED F522                lea.l      A1, [A5 - 0xADE]
  15. 00000020  22D8                     move.l     [A1]+, [A0]+
  16. 00000022  22D8                     move.l     [A1]+, [A0]+
  17. 00000024  600E                     bra        +0x10 /* 00000034 */
  18. label00000026:
  19. 00000026  486D F522                pea.l      [A5 - 0xADE]
  20. 0000002A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  21. 0000002E  486D F522                pea.l      [A5 - 0xADE]
  22. 00000032  A8AB                     syscall    UnionRect
  23. label00000034:
  24. 00000034  4267                     clr.w      -[A7]
  25. 00000036  486D F522                pea.l      [A5 - 0xADE]
  26. 0000003A  486D F4EC                pea.l      [A5 - 0xB14]
  27. 0000003E  486D F522                pea.l      [A5 - 0xADE]
  28. 00000042  A8AA                     syscall    SectRect
  29. 00000044  1D5F FFFF                move.b     [A6 - 0x1], [A7]+
  30. 00000048  4E5E                     unlink     A6
  31. 0000004A  2E9F                     move.l     [A7], [A7]+
  32. 0000004C  4E75                     rts
  33. fn0000004E:
  34. 0000004E  4E56 FFE4                link       A6, -0x001C
  35. 00000052  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  36. 00000056  42A7                     clr.l      -[A7]
  37. 00000058  2F2D F2FA                move.l     -[A7], [A5 - 0xD06]
  38. 0000005C  486E FFE4                pea.l      [A6 - 0x1C]
  39. 00000060  4EBA 0008                jsr        [PC + 0x8 /* 0000006A */]
  40. 00000064  4E5E                     unlink     A6
  41. 00000066  2E9F                     move.l     [A7], [A7]+
  42. 00000068  4E75                     rts
  43. fn0000006A:
  44. 0000006A  4E56 0000                link       A6, 0
  45. 0000006E  48E7 0118                movem.l    -[A7], D7,A3,A4
  46. 00000072  266E 000C                movea.l    A3, [A6 + 0xC]
  47. 00000076  3E2E 0016                move.w     D7, [A6 + 0x16]
  48. 0000007A  286E 0008                movea.l    A4, [A6 + 0x8]
  49. 0000007E  296E 0010 000C           move.l     [A4 + 0xC], [A6 + 0x10]
  50. 00000084  294B 0018                move.l     [A4 + 0x18], A3
  51. 00000088  396E 0014 0002           move.w     [A4 + 0x2], [A6 + 0x14]
  52. 0000008E  3947 0004                move.w     [A4 + 0x4], D7
  53. 00000092  3007                     move.w     D0, D7
  54. 00000094  E940                     asl        D0.w, 4
  55. 00000096  43EB 023E                lea.l      A1, [A3 + 0x23E]
  56. 0000009A  41F1 0000                lea.l      A0, [A1 + D0.w]
  57. 0000009E  2948 0006                move.l     [A4 + 0x6], A0
  58. 000000A2  1028 0001                move.b     D0, [A0 + 0x1]
  59. 000000A6  4880                     ext.w      D0
  60. 000000A8  3880                     move.w     [A4], D0
  61. 000000AA  6602                     bne        +0x4 /* 000000AE */
  62. 000000AC  604E                     bra        +0x50 /* 000000FC */
  63. label000000AE:
  64. 000000AE  7000                     moveq.l    D0, 0x00
  65. 000000B0  2940 0014                move.l     [A4 + 0x14], D0
  66. 000000B4  4267                     clr.w      -[A7]
  67. 000000B6  3F14                     move.w     -[A7], [A4]
  68. 000000B8  4EAD 1392                jsr        [A5 + 0x1392 /* export_622 */]
  69. 000000BC  101F                     move.b     D0, [A7]+
  70. 000000BE  6724                     beq        +0x26 /* 000000E4 */
  71. 000000C0  4267                     clr.w      -[A7]
  72. 000000C2  206C 0006                movea.l    A0, [A4 + 0x6]
  73. 000000C6  3F28 0006                move.w     -[A7], [A0 + 0x6]
  74. 000000CA  4EAD 13EA                jsr        [A5 + 0x13EA /* export_633 */]
  75. 000000CE  101F                     move.b     D0, [A7]+
  76. 000000D0  6712                     beq        +0x14 /* 000000E4 */
  77. 000000D2  42A7                     clr.l      -[A7]
  78. 000000D4  206C 0006                movea.l    A0, [A4 + 0x6]
  79. 000000D8  3F28 0006                move.w     -[A7], [A0 + 0x6]
  80. 000000DC  4EAD 13A2                jsr        [A5 + 0x13A2 /* export_624 */]
  81. 000000E0  295F 0014                move.l     [A4 + 0x14], [A7]+
  82. label000000E4:
  83. 000000E4  3007                     move.w     D0, D7
  84. 000000E6  E740                     asl        D0.w, 3
  85. 000000E8  43EB 03EE                lea.l      A1, [A3 + 0x3EE]
  86. 000000EC  41F1 0000                lea.l      A0, [A1 + D0.w]
  87. 000000F0  2948 0010                move.l     [A4 + 0x10], A0
  88. 000000F4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  89. 000000F8  4EAD 1872                jsr        [A5 + 0x1872 /* export_778 */]
  90. label000000FC:
  91. 000000FC  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  92. 00000100  4E5E                     unlink     A6
  93. 00000102  205F                     movea.l    A0, [A7]+
  94. 00000104  DEFC 0010                add.w      A7, 0x10
  95. 00000108  4ED0                     jmp        [A0]
  96. fn0000010A:
  97. 0000010A  4E56 FFDA                link       A6, -0x0026
  98. 0000010E  48E7 0118                movem.l    -[A7], D7,A3,A4
  99. 00000112  266E 000C                movea.l    A3, [A6 + 0xC]
  100. 00000116  284B                     movea.l    A4, A3
  101. 00000118  7000                     moveq.l    D0, 0x00
  102. 0000011A  2940 0780                move.l     [A4 + 0x780], D0
  103. 0000011E  2940 088E                move.l     [A4 + 0x88E], D0
  104. 00000122  2940 0892                move.l     [A4 + 0x892], D0
  105. 00000126  7E06                     moveq.l    D7, 0x06
  106. 00000128  6000 00CA                bra        +0xCC /* 000001F4 */
  107. label0000012C:
  108. 0000012C  3007                     move.w     D0, D7
  109. 0000012E  6B18                     bmi        +0x1A /* 00000148 */
  110. 00000130  B07C 001F                cmp.w      D0, 0x1F
  111. 00000134  6E12                     bgt        +0x14 /* 00000148 */
  112. 00000136  41EE 000C                lea.l      A0, [A6 + 0xC]
  113. 0000013A  3200                     move.w     D1, D0
  114. 0000013C  E649                     lsr        D1.w, 3
  115. 0000013E  4441                     neg.w      D1
  116. 00000140  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  117. 00000144  0A3C 0004                xori.b     ccr, 4
  118. label00000148:
  119. 00000148  6600 00A8                bne        +0xAA /* 000001F2 */
  120. 0000014C  3007                     move.w     D0, D7
  121. 0000014E  E940                     asl        D0.w, 4
  122. 00000150  41EB 023E                lea.l      A0, [A3 + 0x23E]
  123. 00000154  49F0 0000                lea.l      A4, [A0 + D0.w]
  124. 00000158  4A2C 0001                tst.b      [A4 + 0x1]
  125. 0000015C  6700 0094                beq        +0x96 /* 000001F2 */
  126. 00000160  4A14                     tst.b      [A4]
  127. 00000162  671E                     beq        +0x20 /* 00000182 */
  128. 00000164  2F2B 088E                move.l     -[A7], [A3 + 0x88E]
  129. 00000168  3F3C 0004                move.w     -[A7], 0x4
  130. 0000016C  3F07                     move.w     -[A7], D7
  131. 0000016E  4EAD 03CA                jsr        [A5 + 0x3CA /* export_117 */]
  132. 00000172  4EAD 03D2                jsr        [A5 + 0x3D2 /* export_118 */]
  133. 00000176  3F3C 0004                move.w     -[A7], 0x4
  134. 0000017A  4EAD 03EA                jsr        [A5 + 0x3EA /* export_121 */]
  135. 0000017E  275F 088E                move.l     [A3 + 0x88E], [A7]+
  136. label00000182:
  137. 00000182  3F07                     move.w     -[A7], D7
  138. 00000184  3F3C 000C                move.w     -[A7], 0xC
  139. 00000188  42A7                     clr.l      -[A7]
  140. 0000018A  2F0B                     move.l     -[A7], A3
  141. 0000018C  486E FFDE                pea.l      [A6 - 0x22]
  142. 00000190  4EBA FED8                jsr        [PC - 0x128 /* 0000006A */]
  143. 00000194  4AAE FFF2                tst.l      [A6 - 0xE]
  144. 00000198  673C                     beq        +0x3E /* 000001D6 */
  145. 0000019A  206E FFF2                movea.l    A0, [A6 - 0xE]
  146. 0000019E  2D48 FFDA                move.l     [A6 - 0x26], A0
  147. 000001A2  4AA8 0002                tst.l      [A0 + 0x2]
  148. 000001A6  672E                     beq        +0x30 /* 000001D6 */
  149. 000001A8  206E FFDA                movea.l    A0, [A6 - 0x26]
  150. 000001AC  2068 0002                movea.l    A0, [A0 + 0x2]
  151. 000001B0  2050                     movea.l    A0, [A0]
  152. 000001B2  4AA8 0008                tst.l      [A0 + 0x8]
  153. 000001B6  671E                     beq        +0x20 /* 000001D6 */
  154. 000001B8  2F2B 088E                move.l     -[A7], [A3 + 0x88E]
  155. 000001BC  3F3C 0004                move.w     -[A7], 0x4
  156. 000001C0  3F07                     move.w     -[A7], D7
  157. 000001C2  4EAD 03CA                jsr        [A5 + 0x3CA /* export_117 */]
  158. 000001C6  4EAD 03D2                jsr        [A5 + 0x3D2 /* export_118 */]
  159. 000001CA  3F3C 0004                move.w     -[A7], 0x4
  160. 000001CE  4EAD 03EA                jsr        [A5 + 0x3EA /* export_121 */]
  161. 000001D2  275F 088E                move.l     [A3 + 0x88E], [A7]+
  162. label000001D6:
  163. 000001D6  102B 076E                move.b     D0, [A3 + 0x76E]
  164. 000001DA  6716                     beq        +0x18 /* 000001F2 */
  165. 000001DC  3007                     move.w     D0, D7
  166. 000001DE  E740                     asl        D0.w, 3
  167. 000001E0  41EB 03EE                lea.l      A0, [A3 + 0x3EE]
  168. 000001E4  4870 0000                pea.l      [A0 + D0.w]
  169. 000001E8  486B 0770                pea.l      [A3 + 0x770]
  170. 000001EC  486B 0778                pea.l      [A3 + 0x778]
  171. 000001F0  A8FA                     syscall    MapRect
  172. label000001F2:
  173. 000001F2  5247                     addq.w     D7, 1
  174. label000001F4:
  175. 000001F4  701D                     moveq.l    D0, 0x1D
  176. 000001F6  B047                     cmp.w      D0, D7
  177. 000001F8  6C00 FF32                bge        -0xCC /* 0000012C */
  178. 000001FC  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  179. 00000200  4E5E                     unlink     A6
  180. 00000202  205F                     movea.l    A0, [A7]+
  181. 00000204  504F                     addq.w     A7, 8
  182. 00000206  4ED0                     jmp        [A0]
  183. fn00000208:
  184. 00000208  4E56 FFFA                link       A6, -0x0006
  185. 0000020C  48E7 0118                movem.l    -[A7], D7,A3,A4
  186. 00000210  7E1D                     moveq.l    D7, 0x1D
  187. 00000212  604C                     bra        +0x4E /* 00000260 */
  188. label00000214:
  189. 00000214  206D F2FA                movea.l    A0, [A5 - 0xD06]
  190. 00000218  3007                     move.w     D0, D7
  191. 0000021A  E940                     asl        D0.w, 4
  192. 0000021C  41E8 023E                lea.l      A0, [A0 + 0x23E]
  193. 00000220  49F0 0000                lea.l      A4, [A0 + D0.w]
  194. 00000224  7001                     moveq.l    D0, 0x01
  195. 00000226  B02C 0001                cmp.b      D0, [A4 + 0x1]
  196. 0000022A  6632                     bne        +0x34 /* 0000025E */
  197. 0000022C  7000                     moveq.l    D0, 0x00
  198. 0000022E  102C 0005                move.b     D0, [A4 + 0x5]
  199. 00000232  C0BC 0000 003F           and.l      D0, 0x3F /* '?' */
  200. 00000238  7208                     moveq.l    D1, 0x08
  201. 0000023A  B280                     cmp.l      D1, D0
  202. 0000023C  6620                     bne        +0x22 /* 0000025E */
  203. 0000023E  42A7                     clr.l      -[A7]
  204. 00000240  3F2C 0006                move.w     -[A7], [A4 + 0x6]
  205. 00000244  4EAD 13A2                jsr        [A5 + 0x13A2 /* export_624 */]
  206. 00000248  205F                     movea.l    A0, [A7]+
  207. 0000024A  4AA8 000A                tst.l      [A0 + 0xA]
  208. 0000024E  660E                     bne        +0x10 /* 0000025E */
  209. 00000250  42A7                     clr.l      -[A7]
  210. 00000252  3F2C 0006                move.w     -[A7], [A4 + 0x6]
  211. 00000256  42A7                     clr.l      -[A7]
  212. 00000258  4EAD 187A                jsr        [A5 + 0x187A /* export_779 */]
  213. 0000025C  265F                     movea.l    A3, [A7]+
  214. label0000025E:
  215. 0000025E  5347                     subq.w     D7, 1
  216. label00000260:
  217. 00000260  7006                     moveq.l    D0, 0x06
  218. 00000262  B047                     cmp.w      D0, D7
  219. 00000264  6FAE                     ble        -0x50 /* 00000214 */
  220. 00000266  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  221. 0000026A  4E5E                     unlink     A6
  222. 0000026C  4E75                     rts
  223. fn0000026E:
  224. 0000026E  4E56 FFEE                link       A6, -0x0012
  225. 00000272  206E 0008                movea.l    A0, [A6 + 0x8]
  226. 00000276  43EE FFF8                lea.l      A1, [A6 - 0x8]
  227. 0000027A  22D8                     move.l     [A1]+, [A0]+
  228. 0000027C  22D8                     move.l     [A1]+, [A0]+
  229. 0000027E  4AAD F2A2                tst.l      [A5 - 0xD5E]
  230. 00000282  6666                     bne        +0x68 /* 000002EA */
  231. 00000284  206D F306                movea.l    A0, [A5 - 0xCFA]
  232. 00000288  0C50 00FF                cmpi.w     [A0], 0xFF
  233. 0000028C  660E                     bne        +0x10 /* 0000029C */
  234. 0000028E  41EE FFF0                lea.l      A0, [A6 - 0x10]
  235. 00000292  43ED FFEC                lea.l      A1, [A5 - 0x14]
  236. 00000296  20D9                     move.l     [A0]+, [A1]+
  237. 00000298  20D9                     move.l     [A0]+, [A1]+
  238. 0000029A  600C                     bra        +0xE /* 000002A8 */
  239. label0000029C:
  240. 0000029C  41EE FFF0                lea.l      A0, [A6 - 0x10]
  241. 000002A0  43ED FFF4                lea.l      A1, [A5 - 0xC]
  242. 000002A4  20D9                     move.l     [A0]+, [A1]+
  243. 000002A6  20D9                     move.l     [A0]+, [A1]+
  244. label000002A8:
  245. 000002A8  206D F306                movea.l    A0, [A5 - 0xCFA]
  246. 000002AC  4A50                     tst.w      [A0]
  247. 000002AE  56C0                     sne        D0
  248. 000002B0  3210                     move.w     D1, [A0]
  249. 000002B2  B26D F1CC                cmp.w      D1, [A5 - 0xE34]
  250. 000002B6  5DC1                     slt        D1
  251. 000002B8  C001                     and.b      D0, D1
  252. 000002BA  4400                     neg.b      D0
  253. 000002BC  1D40 FFEF                move.b     [A6 - 0x11], D0
  254. 000002C0  671C                     beq        +0x1E /* 000002DE */
  255. 000002C2  206D F306                movea.l    A0, [A5 - 0xCFA]
  256. 000002C6  3F10                     move.w     -[A7], [A0]
  257. 000002C8  4EAD 16AA                jsr        [A5 + 0x16AA /* export_721 */]
  258. 000002CC  486E FFF8                pea.l      [A6 - 0x8]
  259. 000002D0  486E FFF0                pea.l      [A6 - 0x10]
  260. 000002D4  A8A5                     syscall    FillRect
  261. 000002D6  4267                     clr.w      -[A7]
  262. 000002D8  4EAD 16AA                jsr        [A5 + 0x16AA /* export_721 */]
  263. 000002DC  6018                     bra        +0x1A /* 000002F6 */
  264. label000002DE:
  265. 000002DE  486E FFF8                pea.l      [A6 - 0x8]
  266. 000002E2  486E FFF0                pea.l      [A6 - 0x10]
  267. 000002E6  A8A5                     syscall    FillRect
  268. 000002E8  600C                     bra        +0xE /* 000002F6 */
  269. label000002EA:
  270. 000002EA  486E FFF8                pea.l      [A6 - 0x8]
  271. 000002EE  2F2D F2A2                move.l     -[A7], [A5 - 0xD5E]
  272. 000002F2  4EAD 0032                jsr        [A5 + 0x32 /* export_2 */]
  273. label000002F6:
  274. 000002F6  4E5E                     unlink     A6
  275. 000002F8  2E9F                     move.l     [A7], [A7]+
  276. 000002FA  4E75                     rts
  277. fn000002FC:
  278. 000002FC  4E56 FFE6                link       A6, -0x001A
  279. 00000300  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  280. 00000304  4267                     clr.w      -[A7]
  281. 00000306  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  282. 0000030A  A8AE                     syscall    EmptyRect
  283. 0000030C  101F                     move.b     D0, [A7]+
  284. 0000030E  6600 00C2                bne        +0xC4 /* 000003D2 */
  285. 00000312  4206                     clr.b      D6
  286. 00000314  206E 0008                movea.l    A0, [A6 + 0x8]
  287. 00000318  43EE FFF6                lea.l      A1, [A6 - 0xA]
  288. 0000031C  22D8                     move.l     [A1]+, [A0]+
  289. 0000031E  22D8                     move.l     [A1]+, [A0]+
  290. label00000320:
  291. 00000320  4206                     clr.b      D6
  292. 00000322  4247                     clr.w      D7
  293. 00000324  206D F4E4                movea.l    A0, [A5 - 0xB1C]
  294. 00000328  2850                     movea.l    A4, [A0]
  295. label0000032A:
  296. 0000032A  BE6D F4EA                cmp.w      D7, [A5 - 0xB16]
  297. 0000032E  6C4E                     bge        +0x50 /* 0000037E */
  298. 00000330  4267                     clr.w      -[A7]
  299. 00000332  486E FFF6                pea.l      [A6 - 0xA]
  300. 00000336  2F0C                     move.l     -[A7], A4
  301. 00000338  486E FFEE                pea.l      [A6 - 0x12]
  302. 0000033C  A8AA                     syscall    SectRect
  303. 0000033E  101F                     move.b     D0, [A7]+
  304. 00000340  6736                     beq        +0x38 /* 00000378 */
  305. 00000342  486E FFF6                pea.l      [A6 - 0xA]
  306. 00000346  2F0C                     move.l     -[A7], A4
  307. 00000348  486E FFF6                pea.l      [A6 - 0xA]
  308. 0000034C  A8AB                     syscall    UnionRect
  309. 0000034E  302D F4EA                move.w     D0, [A5 - 0xB16]
  310. 00000352  5340                     subq.w     D0, 1
  311. 00000354  B047                     cmp.w      D0, D7
  312. 00000356  6F18                     ble        +0x1A /* 00000370 */
  313. 00000358  206D F4E4                movea.l    A0, [A5 - 0xB1C]
  314. 0000035C  2050                     movea.l    A0, [A0]
  315. 0000035E  302D F4EA                move.w     D0, [A5 - 0xB16]
  316. 00000362  5340                     subq.w     D0, 1
  317. 00000364  E740                     asl        D0.w, 3
  318. 00000366  41F0 0000                lea.l      A0, [A0 + D0.w]
  319. 0000036A  224C                     movea.l    A1, A4
  320. 0000036C  22D8                     move.l     [A1]+, [A0]+
  321. 0000036E  22D8                     move.l     [A1]+, [A0]+
  322. label00000370:
  323. 00000370  536D F4EA                subq.w     [A5 - 0xB16], 1
  324. 00000374  7C01                     moveq.l    D6, 0x01
  325. 00000376  60B2                     bra        -0x4C /* 0000032A */
  326. label00000378:
  327. 00000378  508C                     addq.l     A4, 8
  328. 0000037A  5247                     addq.w     D7, 1
  329. 0000037C  60AC                     bra        -0x52 /* 0000032A */
  330. label0000037E:
  331. 0000037E  1006                     move.b     D0, D6
  332. 00000380  0A00 0001                xori.b     D0, 0x1
  333. 00000384  679A                     beq        -0x64 /* 00000320 */
  334. 00000386  302D F4EA                move.w     D0, [A5 - 0xB16]
  335. 0000038A  B06D F4E8                cmp.w      D0, [A5 - 0xB18]
  336. 0000038E  6D26                     blt        +0x28 /* 000003B6 */
  337. 00000390  3A2D F4E8                move.w     D5, [A5 - 0xB18]
  338. 00000394  DA7C 0030                add.w      D5, 0x30 /* '0' */
  339. 00000398  2F2D F4E4                move.l     -[A7], [A5 - 0xB1C]
  340. 0000039C  3005                     move.w     D0, D5
  341. 0000039E  E740                     asl        D0.w, 3
  342. 000003A0  48C0                     ext.l      D0
  343. 000003A2  2F00                     move.l     -[A7], D0
  344. 000003A4  4EAD 021A                jsr        [A5 + 0x21A /* export_63 */]
  345. 000003A8  4267                     clr.w      -[A7]
  346. 000003AA  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  347. 000003AE  4A5F                     tst.w      [A7]+
  348. 000003B0  6620                     bne        +0x22 /* 000003D2 */
  349. 000003B2  3B45 F4E8                move.w     [A5 - 0xB18], D5
  350. label000003B6:
  351. 000003B6  206D F4E4                movea.l    A0, [A5 - 0xB1C]
  352. 000003BA  2050                     movea.l    A0, [A0]
  353. 000003BC  302D F4EA                move.w     D0, [A5 - 0xB16]
  354. 000003C0  E740                     asl        D0.w, 3
  355. 000003C2  41F0 0000                lea.l      A0, [A0 + D0.w]
  356. 000003C6  43EE FFF6                lea.l      A1, [A6 - 0xA]
  357. 000003CA  20D9                     move.l     [A0]+, [A1]+
  358. 000003CC  20D9                     move.l     [A0]+, [A1]+
  359. 000003CE  526D F4EA                addq.w     [A5 - 0xB16], 1
  360. label000003D2:
  361. 000003D2  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  362. 000003D6  4E5E                     unlink     A6
  363. 000003D8  2E9F                     move.l     [A7], [A7]+
  364. 000003DA  4E75                     rts
  365. fn000003DC:
  366. 000003DC  4E56 FFF8                link       A6, -0x0008
  367. 000003E0  2F0C                     move.l     -[A7], A4
  368. 000003E2  206E 0008                movea.l    A0, [A6 + 0x8]
  369. 000003E6  43EE FFF8                lea.l      A1, [A6 - 0x8]
  370. 000003EA  22D8                     move.l     [A1]+, [A0]+
  371. 000003EC  22D8                     move.l     [A1]+, [A0]+
  372. 000003EE  102D F4F5                move.b     D0, [A5 - 0xB0B]
  373. 000003F2  6744                     beq        +0x46 /* 00000438 */
  374. 000003F4  206D F504                movea.l    A0, [A5 - 0xAFC]
  375. 000003F8  2850                     movea.l    A4, [A0]
  376. 000003FA  204C                     movea.l    A0, A4
  377. 000003FC  5C88                     addq.l     A0, 6
  378. 000003FE  43EE FFF8                lea.l      A1, [A6 - 0x8]
  379. 00000402  20D9                     move.l     [A0]+, [A1]+
  380. 00000404  20D9                     move.l     [A0]+, [A1]+
  381. 00000406  7000                     moveq.l    D0, 0x00
  382. 00000408  2F00                     move.l     -[A7], D0
  383. 0000040A  4267                     clr.w      -[A7]
  384. 0000040C  486E FFF8                pea.l      [A6 - 0x8]
  385. 00000410  3F2C 0020                move.w     -[A7], [A4 + 0x20]
  386. 00000414  4EAD 104A                jsr        [A5 + 0x104A /* export_517 */]
  387. 00000418  321F                     move.w     D1, [A7]+
  388. 0000041A  201F                     move.l     D0, [A7]+
  389. 0000041C  3001                     move.w     D0, D1
  390. 0000041E  80BC FFFF 8000           or.l       D0, 0xFFFF8000
  391. 00000424  3940 0004                move.w     [A4 + 0x4], D0
  392. 00000428  42A7                     clr.l      -[A7]
  393. 0000042A  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  394. 0000042E  289F                     move.l     [A4], [A7]+
  395. 00000430  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  396. 00000434  AA06                     syscall    SetPortPix/SetCPortPix
  397. 00000436  6030                     bra        +0x32 /* 00000468 */
  398. label00000438:
  399. 00000438  49ED F4F6                lea.l      A4, [A5 - 0xB0A]
  400. 0000043C  204C                     movea.l    A0, A4
  401. 0000043E  5C88                     addq.l     A0, 6
  402. 00000440  43EE FFF8                lea.l      A1, [A6 - 0x8]
  403. 00000444  20D9                     move.l     [A0]+, [A1]+
  404. 00000446  20D9                     move.l     [A0]+, [A1]+
  405. 00000448  4267                     clr.w      -[A7]
  406. 0000044A  486E FFF8                pea.l      [A6 - 0x8]
  407. 0000044E  3F3C 0001                move.w     -[A7], 0x1
  408. 00000452  4EAD 104A                jsr        [A5 + 0x104A /* export_517 */]
  409. 00000456  395F 0004                move.w     [A4 + 0x4], [A7]+
  410. 0000045A  42A7                     clr.l      -[A7]
  411. 0000045C  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  412. 00000460  289F                     move.l     [A4], [A7]+
  413. 00000462  486D F4F6                pea.l      [A5 - 0xB0A]
  414. 00000466  A875                     syscall    SetPBits/SetPortBits
  415. label00000468:
  416. 00000468  285F                     movea.l    A4, [A7]+
  417. 0000046A  4E5E                     unlink     A6
  418. 0000046C  2E9F                     move.l     [A7], [A7]+
  419. 0000046E  4E75                     rts
  420. fn00000470:
  421. 00000470  4E56 FFF6                link       A6, -0x000A
  422. 00000474  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  423. 00000478  286E 0008                movea.l    A4, [A6 + 0x8]
  424. 0000047C  4A6E 000C                tst.w      [A6 + 0xC]
  425. 00000480  6606                     bne        +0x8 /* 00000488 */
  426. 00000482  7000                     moveq.l    D0, 0x00
  427. 00000484  2880                     move.l     [A4], D0
  428. 00000486  6044                     bra        +0x46 /* 000004CC */
  429. label00000488:
  430. 00000488  102D F4F5                move.b     D0, [A5 - 0xB0B]
  431. 0000048C  673A                     beq        +0x3C /* 000004C8 */
  432. 0000048E  206D F504                movea.l    A0, [A5 - 0xAFC]
  433. 00000492  2050                     movea.l    A0, [A0]
  434. 00000494  3E28 0020                move.w     D7, [A0 + 0x20]
  435. 00000498  3007                     move.w     D0, D7
  436. 0000049A  7201                     moveq.l    D1, 0x01
  437. 0000049C  E1A9                     lsl        D1, D0
  438. 0000049E  2C01                     move.l     D6, D1
  439. 000004A0  5386                     subq.l     D6, 1
  440. 000004A2  7000                     moveq.l    D0, 0x00
  441. 000004A4  302E 000C                move.w     D0, [A6 + 0xC]
  442. 000004A8  CC80                     and.l      D6, D0
  443. 000004AA  7A01                     moveq.l    D5, 0x01
  444. 000004AC  7000                     moveq.l    D0, 0x00
  445. 000004AE  2880                     move.l     [A4], D0
  446. label000004B0:
  447. 000004B0  4A85                     tst.l      D5
  448. 000004B2  6718                     beq        +0x1A /* 000004CC */
  449. 000004B4  3007                     move.w     D0, D7
  450. 000004B6  2214                     move.l     D1, [A4]
  451. 000004B8  E1A9                     lsl        D1, D0
  452. 000004BA  2881                     move.l     [A4], D1
  453. 000004BC  2006                     move.l     D0, D6
  454. 000004BE  8094                     or.l       D0, [A4]
  455. 000004C0  2880                     move.l     [A4], D0
  456. 000004C2  3007                     move.w     D0, D7
  457. 000004C4  E1AD                     lsl        D5, D0
  458. 000004C6  60E8                     bra        -0x16 /* 000004B0 */
  459. label000004C8:
  460. 000004C8  70FF                     moveq.l    D0, 0xFFFFFFFF
  461. 000004CA  2880                     move.l     [A4], D0
  462. label000004CC:
  463. 000004CC  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  464. 000004D0  4E5E                     unlink     A6
  465. 000004D2  205F                     movea.l    A0, [A7]+
  466. 000004D4  5C4F                     addq.w     A7, 6
  467. 000004D6  4ED0                     jmp        [A0]
  468. fn000004D8:
  469. 000004D8  4E56 FFF2                link       A6, -0x000E
  470. 000004DC  48E7 0300                movem.l    -[A7], D6,D7
  471. 000004E0  206E 0008                movea.l    A0, [A6 + 0x8]
  472. 000004E4  43EE FFF8                lea.l      A1, [A6 - 0x8]
  473. 000004E8  22D8                     move.l     [A1]+, [A0]+
  474. 000004EA  22D8                     move.l     [A1]+, [A0]+
  475. 000004EC  102D F4F4                move.b     D0, [A5 - 0xB0C]
  476. 000004F0  6700 0084                beq        +0x86 /* 00000576 */
  477. 000004F4  486D F53C                pea.l      [A5 - 0xAC4]
  478. 000004F8  A873                     syscall    SetPort
  479. 000004FA  102D F4F5                move.b     D0, [A5 - 0xB0B]
  480. 000004FE  6758                     beq        +0x5A /* 00000558 */
  481. 00000500  4267                     clr.w      -[A7]
  482. 00000502  2F2D F516                move.l     -[A7], [A5 - 0xAEA]
  483. 00000506  4EAD 02FA                jsr        [A5 + 0x2FA /* export_91 */]
  484. 0000050A  1C1F                     move.b     D6, [A7]+
  485. 0000050C  4267                     clr.w      -[A7]
  486. 0000050E  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  487. 00000512  4EAD 02FA                jsr        [A5 + 0x2FA /* export_91 */]
  488. 00000516  1E1F                     move.b     D7, [A7]+
  489. 00000518  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  490. 0000051C  205F                     movea.l    A0, [A7]+
  491. 0000051E  A029                     syscall    HLock
  492. 00000520  2F2D F516                move.l     -[A7], [A5 - 0xAEA]
  493. 00000524  205F                     movea.l    A0, [A7]+
  494. 00000526  A029                     syscall    HLock
  495. 00000528  206D F504                movea.l    A0, [A5 - 0xAFC]
  496. 0000052C  2F10                     move.l     -[A7], [A0]
  497. 0000052E  206D F516                movea.l    A0, [A5 - 0xAEA]
  498. 00000532  2F10                     move.l     -[A7], [A0]
  499. 00000534  486E FFF8                pea.l      [A6 - 0x8]
  500. 00000538  486E FFF8                pea.l      [A6 - 0x8]
  501. 0000053C  4267                     clr.w      -[A7]
  502. 0000053E  42A7                     clr.l      -[A7]
  503. 00000540  A8EC                     syscall    CopyBits
  504. 00000542  2F2D F516                move.l     -[A7], [A5 - 0xAEA]
  505. 00000546  1F06                     move.b     -[A7], D6
  506. 00000548  4EAD 0302                jsr        [A5 + 0x302 /* export_92 */]
  507. 0000054C  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  508. 00000550  1F07                     move.b     -[A7], D7
  509. 00000552  4EAD 0302                jsr        [A5 + 0x302 /* export_92 */]
  510. 00000556  6016                     bra        +0x18 /* 0000056E */
  511. label00000558:
  512. 00000558  486D F4F6                pea.l      [A5 - 0xB0A]
  513. 0000055C  486D F508                pea.l      [A5 - 0xAF8]
  514. 00000560  486E FFF8                pea.l      [A6 - 0x8]
  515. 00000564  486E FFF8                pea.l      [A6 - 0x8]
  516. 00000568  4267                     clr.w      -[A7]
  517. 0000056A  42A7                     clr.l      -[A7]
  518. 0000056C  A8EC                     syscall    CopyBits
  519. label0000056E:
  520. 0000056E  2F2D F4D6                move.l     -[A7], [A5 - 0xB2A]
  521. 00000572  A873                     syscall    SetPort
  522. 00000574  6062                     bra        +0x64 /* 000005D8 */
  523. label00000576:
  524. 00000576  2F2D F4D6                move.l     -[A7], [A5 - 0xB2A]
  525. 0000057A  A873                     syscall    SetPort
  526. 0000057C  102D F4F5                move.b     D0, [A5 - 0xB0B]
  527. 00000580  673C                     beq        +0x3E /* 000005BE */
  528. 00000582  4267                     clr.w      -[A7]
  529. 00000584  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  530. 00000588  4EAD 02FA                jsr        [A5 + 0x2FA /* export_91 */]
  531. 0000058C  1E1F                     move.b     D7, [A7]+
  532. 0000058E  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  533. 00000592  205F                     movea.l    A0, [A7]+
  534. 00000594  A029                     syscall    HLock
  535. 00000596  206D F504                movea.l    A0, [A5 - 0xAFC]
  536. 0000059A  2F10                     move.l     -[A7], [A0]
  537. 0000059C  206D F4D6                movea.l    A0, [A5 - 0xB2A]
  538. 000005A0  4868 0002                pea.l      [A0 + 0x2]
  539. 000005A4  486E FFF8                pea.l      [A6 - 0x8]
  540. 000005A8  486E FFF8                pea.l      [A6 - 0x8]
  541. 000005AC  4267                     clr.w      -[A7]
  542. 000005AE  42A7                     clr.l      -[A7]
  543. 000005B0  A8EC                     syscall    CopyBits
  544. 000005B2  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  545. 000005B6  1F07                     move.b     -[A7], D7
  546. 000005B8  4EAD 0302                jsr        [A5 + 0x302 /* export_92 */]
  547. 000005BC  601A                     bra        +0x1C /* 000005D8 */
  548. label000005BE:
  549. 000005BE  486D F4F6                pea.l      [A5 - 0xB0A]
  550. 000005C2  206D F4D6                movea.l    A0, [A5 - 0xB2A]
  551. 000005C6  4868 0002                pea.l      [A0 + 0x2]
  552. 000005CA  486E FFF8                pea.l      [A6 - 0x8]
  553. 000005CE  486E FFF8                pea.l      [A6 - 0x8]
  554. 000005D2  4267                     clr.w      -[A7]
  555. 000005D4  42A7                     clr.l      -[A7]
  556. 000005D6  A8EC                     syscall    CopyBits
  557. label000005D8:
  558. 000005D8  4CDF 00C0                movem.l    D6,D7, [A7]+
  559. 000005DC  4E5E                     unlink     A6
  560. 000005DE  2E9F                     move.l     [A7], [A7]+
  561. 000005E0  4E75                     rts
  562. fn000005E2:
  563. 000005E2  4E56 FFF8                link       A6, -0x0008
  564. 000005E6  206E 000A                movea.l    A0, [A6 + 0xA]
  565. 000005EA  43EE FFF8                lea.l      A1, [A6 - 0x8]
  566. 000005EE  22D8                     move.l     [A1]+, [A0]+
  567. 000005F0  22D8                     move.l     [A1]+, [A0]+
  568. 000005F2  486D F4D6                pea.l      [A5 - 0xB2A]
  569. 000005F6  A874                     syscall    GetPort
  570. 000005F8  2F2D F532                move.l     -[A7], [A5 - 0xACE]
  571. 000005FC  A873                     syscall    SetPort
  572. 000005FE  102E 0008                move.b     D0, [A6 + 0x8]
  573. 00000602  6708                     beq        +0xA /* 0000060C */
  574. 00000604  486E FFF8                pea.l      [A6 - 0x8]
  575. 00000608  4EBA FDD2                jsr        [PC - 0x22E /* 000003DC */]
  576. label0000060C:
  577. 0000060C  486E FFF8                pea.l      [A6 - 0x8]
  578. 00000610  A87B                     syscall    ClipRect
  579. 00000612  102D F4F5                move.b     D0, [A5 - 0xB0B]
  580. 00000616  670E                     beq        +0x10 /* 00000626 */
  581. 00000618  206D F4CA                movea.l    A0, [A5 - 0xB36]
  582. 0000061C  2050                     movea.l    A0, [A0]
  583. 0000061E  7002                     moveq.l    D0, 0x02
  584. 00000620  B068 0004                cmp.w      D0, [A0 + 0x4]
  585. 00000624  6770                     beq        +0x72 /* 00000696 */
  586. label00000626:
  587. 00000626  4AAD F2A2                tst.l      [A5 - 0xD5E]
  588. 0000062A  666A                     bne        +0x6C /* 00000696 */
  589. 0000062C  102E 0008                move.b     D0, [A6 + 0x8]
  590. 00000630  6764                     beq        +0x66 /* 00000696 */
  591. 00000632  206D F306                movea.l    A0, [A5 - 0xCFA]
  592. 00000636  3010                     move.w     D0, [A0]
  593. 00000638  B06D F2B8                cmp.w      D0, [A5 - 0xD48]
  594. 0000063C  672C                     beq        +0x2E /* 0000066A */
  595. 0000063E  0C50 00FF                cmpi.w     [A0], 0xFF
  596. 00000642  57C0                     seq        D0
  597. 00000644  206D F306                movea.l    A0, [A5 - 0xCFA]
  598. 00000648  3210                     move.w     D1, [A0]
  599. 0000064A  B26D F1CC                cmp.w      D1, [A5 - 0xE34]
  600. 0000064E  5FC1                     sle        D1
  601. 00000650  8001                     or.b       D0, D1
  602. 00000652  6716                     beq        +0x18 /* 0000066A */
  603. 00000654  206D F306                movea.l    A0, [A5 - 0xCFA]
  604. 00000658  3F10                     move.w     -[A7], [A0]
  605. 0000065A  4868 0002                pea.l      [A0 + 0x2]
  606. 0000065E  4EBA FE10                jsr        [PC - 0x1F0 /* 00000470 */]
  607. 00000662  206D F306                movea.l    A0, [A5 - 0xCFA]
  608. 00000666  3B50 F2B8                move.w     [A5 - 0xD48], [A0]
  609. label0000066A:
  610. 0000066A  102D F4F5                move.b     D0, [A5 - 0xB0B]
  611. 0000066E  6714                     beq        +0x16 /* 00000684 */
  612. 00000670  206D F306                movea.l    A0, [A5 - 0xCFA]
  613. 00000674  2F28 0002                move.l     -[A7], [A0 + 0x2]
  614. 00000678  206D F504                movea.l    A0, [A5 - 0xAFC]
  615. 0000067C  2F10                     move.l     -[A7], [A0]
  616. 0000067E  4EAD 009A                jsr        [A5 + 0x9A /* export_15 */]
  617. 00000682  601A                     bra        +0x1C /* 0000069E */
  618. label00000684:
  619. 00000684  206D F306                movea.l    A0, [A5 - 0xCFA]
  620. 00000688  2F28 0002                move.l     -[A7], [A0 + 0x2]
  621. 0000068C  486D F4F6                pea.l      [A5 - 0xB0A]
  622. 00000690  4EAD 009A                jsr        [A5 + 0x9A /* export_15 */]
  623. 00000694  6008                     bra        +0xA /* 0000069E */
  624. label00000696:
  625. 00000696  486E FFF8                pea.l      [A6 - 0x8]
  626. 0000069A  4EBA FBD2                jsr        [PC - 0x42E /* 0000026E */]
  627. label0000069E:
  628. 0000069E  4E5E                     unlink     A6
  629. 000006A0  205F                     movea.l    A0, [A7]+
  630. 000006A2  5C4F                     addq.w     A7, 6
  631. 000006A4  4ED0                     jmp        [A0]
  632. fn000006A6:
  633. 000006A6  4E56 FFD6                link       A6, -0x002A
  634. 000006AA  2F07                     move.l     -[A7], D7
  635. 000006AC  206E 0010                movea.l    A0, [A6 + 0x10]
  636. 000006B0  43EE FFF8                lea.l      A1, [A6 - 0x8]
  637. 000006B4  22D8                     move.l     [A1]+, [A0]+
  638. 000006B6  22D8                     move.l     [A1]+, [A0]+
  639. 000006B8  4267                     clr.w      -[A7]
  640. 000006BA  486E FFF8                pea.l      [A6 - 0x8]
  641. 000006BE  A8AE                     syscall    EmptyRect
  642. 000006C0  101F                     move.b     D0, [A7]+
  643. 000006C2  6600 0092                bne        +0x94 /* 00000756 */
  644. 000006C6  4267                     clr.w      -[A7]
  645. 000006C8  486E FFF8                pea.l      [A6 - 0x8]
  646. 000006CC  486D F4EC                pea.l      [A5 - 0xB14]
  647. 000006D0  486D F4DC                pea.l      [A5 - 0xB24]
  648. 000006D4  A8AA                     syscall    SectRect
  649. 000006D6  101F                     move.b     D0, [A7]+
  650. 000006D8  677C                     beq        +0x7E /* 00000756 */
  651. 000006DA  486D F4DC                pea.l      [A5 - 0xB24]
  652. 000006DE  206E 0014                movea.l    A0, [A6 + 0x14]
  653. 000006E2  4868 027E                pea.l      [A0 + 0x27E]
  654. 000006E6  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  655. 000006EA  486E FFF4                pea.l      [A6 - 0xC]
  656. 000006EE  4EAD 103A                jsr        [A5 + 0x103A /* export_515 */]
  657. 000006F2  486D F4DC                pea.l      [A5 - 0xB24]
  658. 000006F6  102E 0008                move.b     D0, [A6 + 0x8]
  659. 000006FA  0A00 0001                xori.b     D0, 0x1
  660. 000006FE  1F00                     move.b     -[A7], D0
  661. 00000700  4EBA FEE0                jsr        [PC - 0x120 /* 000005E2 */]
  662. 00000704  7E06                     moveq.l    D7, 0x06
  663. 00000706  6032                     bra        +0x34 /* 0000073A */
  664. label00000708:
  665. 00000708  3007                     move.w     D0, D7
  666. 0000070A  6B18                     bmi        +0x1A /* 00000724 */
  667. 0000070C  B07C 001F                cmp.w      D0, 0x1F
  668. 00000710  6E12                     bgt        +0x14 /* 00000724 */
  669. 00000712  41EE FFF8                lea.l      A0, [A6 - 0x8]
  670. 00000716  3200                     move.w     D1, D0
  671. 00000718  E649                     lsr        D1.w, 3
  672. 0000071A  4441                     neg.w      D1
  673. 0000071C  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  674. 00000720  0A3C 0004                xori.b     ccr, 4
  675. label00000724:
  676. 00000724  6612                     bne        +0x14 /* 00000738 */
  677. 00000726  3F07                     move.w     -[A7], D7
  678. 00000728  4267                     clr.w      -[A7]
  679. 0000072A  42A7                     clr.l      -[A7]
  680. 0000072C  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  681. 00000730  486E FFD6                pea.l      [A6 - 0x2A]
  682. 00000734  4EBA F934                jsr        [PC - 0x6CC /* 0000006A */]
  683. label00000738:
  684. 00000738  5247                     addq.w     D7, 1
  685. label0000073A:
  686. 0000073A  701D                     moveq.l    D0, 0x1D
  687. 0000073C  B047                     cmp.w      D0, D7
  688. 0000073E  6CC8                     bge        -0x36 /* 00000708 */
  689. 00000740  102E 000A                move.b     D0, [A6 + 0xA]
  690. 00000744  670A                     beq        +0xC /* 00000750 */
  691. 00000746  486D F4DC                pea.l      [A5 - 0xB24]
  692. 0000074A  4EBA FD8C                jsr        [PC - 0x274 /* 000004D8 */]
  693. 0000074E  6006                     bra        +0x8 /* 00000756 */
  694. label00000750:
  695. 00000750  2F2D F4D6                move.l     -[A7], [A5 - 0xB2A]
  696. 00000754  A873                     syscall    SetPort
  697. label00000756:
  698. 00000756  2E1F                     move.l     D7, [A7]+
  699. 00000758  4E5E                     unlink     A6
  700. 0000075A  205F                     movea.l    A0, [A7]+
  701. 0000075C  DEFC 0010                add.w      A7, 0x10
  702. 00000760  4ED0                     jmp        [A0]
  703. fn00000762:
  704. 00000762  4E56 FFFE                link       A6, -0x0002
  705. 00000766  2F07                     move.l     -[A7], D7
  706. 00000768  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  707. 0000076C  1F3C 0001                move.b     -[A7], 0x1
  708. 00000770  4EBA FE70                jsr        [PC - 0x190 /* 000005E2 */]
  709. 00000774  206E 0008                movea.l    A0, [A6 + 0x8]
  710. 00000778  43ED F4DC                lea.l      A1, [A5 - 0xB24]
  711. 0000077C  22D8                     move.l     [A1]+, [A0]+
  712. 0000077E  22D8                     move.l     [A1]+, [A0]+
  713. 00000780  7E06                     moveq.l    D7, 0x06
  714. 00000782  600A                     bra        +0xC /* 0000078E */
  715. label00000784:
  716. 00000784  3F07                     move.w     -[A7], D7
  717. 00000786  4267                     clr.w      -[A7]
  718. 00000788  4EBA F8C4                jsr        [PC - 0x73C /* 0000004E */]
  719. 0000078C  5247                     addq.w     D7, 1
  720. label0000078E:
  721. 0000078E  701D                     moveq.l    D0, 0x1D
  722. 00000790  B047                     cmp.w      D0, D7
  723. 00000792  6CF0                     bge        -0xE /* 00000784 */
  724. 00000794  2F2D F4D6                move.l     -[A7], [A5 - 0xB2A]
  725. 00000798  A873                     syscall    SetPort
  726. 0000079A  2E1F                     move.l     D7, [A7]+
  727. 0000079C  4E5E                     unlink     A6
  728. 0000079E  2E9F                     move.l     [A7], [A7]+
  729. 000007A0  4E75                     rts
  730. fn000007A2:
  731. 000007A2  4E56 FFD2                link       A6, -0x002E
  732. 000007A6  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  733. 000007AA  266E 0008                movea.l    A3, [A6 + 0x8]
  734. 000007AE  286E 0010                movea.l    A4, [A6 + 0x10]
  735. 000007B2  2C2E 000C                move.l     D6, [A6 + 0xC]
  736. 000007B6  486C 027E                pea.l      [A4 + 0x27E]
  737. 000007BA  486E FFF2                pea.l      [A6 - 0xE]
  738. 000007BE  4EAD 1042                jsr        [A5 + 0x1042 /* export_516 */]
  739. 000007C2  486C 04DE                pea.l      [A4 + 0x4DE]
  740. 000007C6  486E FFF6                pea.l      [A6 - 0xA]
  741. 000007CA  4EAD 1042                jsr        [A5 + 0x1042 /* export_516 */]
  742. 000007CE  102E 0014                move.b     D0, [A6 + 0x14]
  743. 000007D2  670A                     beq        +0xC /* 000007DE */
  744. 000007D4  2F0C                     move.l     -[A7], A4
  745. 000007D6  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  746. 000007DA  4EBA F92E                jsr        [PC - 0x6D2 /* 0000010A */]
  747. label000007DE:
  748. 000007DE  486C 027E                pea.l      [A4 + 0x27E]
  749. 000007E2  486C 04DE                pea.l      [A4 + 0x4DE]
  750. 000007E6  486E FFFA                pea.l      [A6 - 0x6]
  751. 000007EA  4EAD 1012                jsr        [A5 + 0x1012 /* export_510 */]
  752. 000007EE  202E FFFA                move.l     D0, [A6 - 0x6]
  753. 000007F2  4680                     not.l      D0
  754. 000007F4  C0AC 0780                and.l      D0, [A4 + 0x780]
  755. 000007F8  2D40 FFEE                move.l     [A6 - 0x12], D0
  756. 000007FC  7200                     moveq.l    D1, 0x00
  757. 000007FE  B081                     cmp.l      D0, D1
  758. 00000800  6758                     beq        +0x5A /* 0000085A */
  759. 00000802  202E FFEE                move.l     D0, [A6 - 0x12]
  760. 00000806  4680                     not.l      D0
  761. 00000808  C0AE FFF2                and.l      D0, [A6 - 0xE]
  762. 0000080C  2D40 FFF2                move.l     [A6 - 0xE], D0
  763. 00000810  202E FFEE                move.l     D0, [A6 - 0x12]
  764. 00000814  4680                     not.l      D0
  765. 00000816  C0AE FFF6                and.l      D0, [A6 - 0xA]
  766. 0000081A  2D40 FFF6                move.l     [A6 - 0xA], D0
  767. 0000081E  7E06                     moveq.l    D7, 0x06
  768. 00000820  6032                     bra        +0x34 /* 00000854 */
  769. label00000822:
  770. 00000822  3007                     move.w     D0, D7
  771. 00000824  6B18                     bmi        +0x1A /* 0000083E */
  772. 00000826  B07C 001F                cmp.w      D0, 0x1F
  773. 0000082A  6E12                     bgt        +0x14 /* 0000083E */
  774. 0000082C  41EE FFF2                lea.l      A0, [A6 - 0xE]
  775. 00000830  3200                     move.w     D1, D0
  776. 00000832  E649                     lsr        D1.w, 3
  777. 00000834  4441                     neg.w      D1
  778. 00000836  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  779. 0000083A  0A3C 0004                xori.b     ccr, 4
  780. label0000083E:
  781. 0000083E  6612                     bne        +0x14 /* 00000852 */
  782. 00000840  3F07                     move.w     -[A7], D7
  783. 00000842  3F3C 000F                move.w     -[A7], 0xF
  784. 00000846  42A7                     clr.l      -[A7]
  785. 00000848  2F0C                     move.l     -[A7], A4
  786. 0000084A  486E FFD2                pea.l      [A6 - 0x2E]
  787. 0000084E  4EBA F81A                jsr        [PC - 0x7E6 /* 0000006A */]
  788. label00000852:
  789. 00000852  5247                     addq.w     D7, 1
  790. label00000854:
  791. 00000854  701D                     moveq.l    D0, 0x1D
  792. 00000856  B047                     cmp.w      D0, D7
  793. 00000858  6CC8                     bge        -0x36 /* 00000822 */
  794. label0000085A:
  795. 0000085A  7000                     moveq.l    D0, 0x00
  796. 0000085C  2680                     move.l     [A3], D0
  797. 0000085E  7E1D                     moveq.l    D7, 0x1D
  798. 00000860  6000 00D6                bra        +0xD8 /* 00000938 */
  799. label00000864:
  800. 00000864  3007                     move.w     D0, D7
  801. 00000866  6B18                     bmi        +0x1A /* 00000880 */
  802. 00000868  B07C 001F                cmp.w      D0, 0x1F
  803. 0000086C  6E12                     bgt        +0x14 /* 00000880 */
  804. 0000086E  41EE FFFE                lea.l      A0, [A6 - 0x2]
  805. 00000872  3200                     move.w     D1, D0
  806. 00000874  E649                     lsr        D1.w, 3
  807. 00000876  4441                     neg.w      D1
  808. 00000878  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  809. 0000087C  0A3C 0004                xori.b     ccr, 4
  810. label00000880:
  811. 00000880  6600 00B4                bne        +0xB6 /* 00000936 */
  812. 00000884  3007                     move.w     D0, D7
  813. 00000886  6B18                     bmi        +0x1A /* 000008A0 */
  814. 00000888  B07C 001F                cmp.w      D0, 0x1F
  815. 0000088C  6E12                     bgt        +0x14 /* 000008A0 */
  816. 0000088E  41EE FFF6                lea.l      A0, [A6 - 0xA]
  817. 00000892  3200                     move.w     D1, D0
  818. 00000894  E649                     lsr        D1.w, 3
  819. 00000896  4441                     neg.w      D1
  820. 00000898  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  821. 0000089C  0A3C 0004                xori.b     ccr, 4
  822. label000008A0:
  823. 000008A0  6646                     bne        +0x48 /* 000008E8 */
  824. 000008A2  3007                     move.w     D0, D7
  825. 000008A4  E940                     asl        D0.w, 4
  826. 000008A6  41EC 0243                lea.l      A0, [A4 + 0x243]
  827. 000008AA  0830 0006 0000           btst.b     [A0 + D0.w], 0x6
  828. 000008B0  56C0                     sne        D0
  829. 000008B2  4A00                     tst.b      D0
  830. 000008B4  6722                     beq        +0x24 /* 000008D8 */
  831. 000008B6  C02D F4DB                and.b      D0, [A5 - 0xB25]
  832. 000008BA  671C                     beq        +0x1E /* 000008D8 */
  833. 000008BC  2F13                     move.l     -[A7], [A3]
  834. 000008BE  3F3C 0004                move.w     -[A7], 0x4
  835. 000008C2  3F07                     move.w     -[A7], D7
  836. 000008C4  4EAD 03CA                jsr        [A5 + 0x3CA /* export_117 */]
  837. 000008C8  4EAD 03D2                jsr        [A5 + 0x3D2 /* export_118 */]
  838. 000008CC  3F3C 0004                move.w     -[A7], 0x4
  839. 000008D0  4EAD 03EA                jsr        [A5 + 0x3EA /* export_121 */]
  840. 000008D4  269F                     move.l     [A3], [A7]+
  841. 000008D6  6010                     bra        +0x12 /* 000008E8 */
  842. label000008D8:
  843. 000008D8  3007                     move.w     D0, D7
  844. 000008DA  E740                     asl        D0.w, 3
  845. 000008DC  41EC 03EE                lea.l      A0, [A4 + 0x3EE]
  846. 000008E0  4870 0000                pea.l      [A0 + D0.w]
  847. 000008E4  4EBA FA16                jsr        [PC - 0x5EA /* 000002FC */]
  848. label000008E8:
  849. 000008E8  3007                     move.w     D0, D7
  850. 000008EA  6B18                     bmi        +0x1A /* 00000904 */
  851. 000008EC  B07C 001F                cmp.w      D0, 0x1F
  852. 000008F0  6E12                     bgt        +0x14 /* 00000904 */
  853. 000008F2  41EE FFFA                lea.l      A0, [A6 - 0x6]
  854. 000008F6  3200                     move.w     D1, D0
  855. 000008F8  E649                     lsr        D1.w, 3
  856. 000008FA  4441                     neg.w      D1
  857. 000008FC  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  858. 00000900  0A3C 0004                xori.b     ccr, 4
  859. label00000904:
  860. 00000904  6630                     bne        +0x32 /* 00000936 */
  861. 00000906  3007                     move.w     D0, D7
  862. 00000908  E940                     asl        D0.w, 4
  863. 0000090A  41EC 04A3                lea.l      A0, [A4 + 0x4A3]
  864. 0000090E  0830 0006 0000           btst.b     [A0 + D0.w], 0x6
  865. 00000914  57C0                     seq        D0
  866. 00000916  122D F4DB                move.b     D1, [A5 - 0xB25]
  867. 0000091A  0A01 0001                xori.b     D1, 0x1
  868. 0000091E  8001                     or.b       D0, D1
  869. 00000920  0240 0001                andi.w     D0, 0x1
  870. 00000924  6710                     beq        +0x12 /* 00000936 */
  871. 00000926  3007                     move.w     D0, D7
  872. 00000928  E740                     asl        D0.w, 3
  873. 0000092A  41EC 064E                lea.l      A0, [A4 + 0x64E]
  874. 0000092E  4870 0000                pea.l      [A0 + D0.w]
  875. 00000932  4EBA F9C8                jsr        [PC - 0x638 /* 000002FC */]
  876. label00000936:
  877. 00000936  5347                     subq.w     D7, 1
  878. label00000938:
  879. 00000938  7006                     moveq.l    D0, 0x06
  880. 0000093A  B047                     cmp.w      D0, D7
  881. 0000093C  6F00 FF26                ble        -0xD8 /* 00000864 */
  882. 00000940  2046                     movea.l    A0, D6
  883. 00000942  2013                     move.l     D0, [A3]
  884. 00000944  4680                     not.l      D0
  885. 00000946  C0AE FFF2                and.l      D0, [A6 - 0xE]
  886. 0000094A  2080                     move.l     [A0], D0
  887. 0000094C  202E FFEE                move.l     D0, [A6 - 0x12]
  888. 00000950  7200                     moveq.l    D1, 0x00
  889. 00000952  B081                     cmp.l      D0, D1
  890. 00000954  6714                     beq        +0x16 /* 0000096A */
  891. 00000956  2046                     movea.l    A0, D6
  892. 00000958  2246                     movea.l    A1, D6
  893. 0000095A  202E FFEE                move.l     D0, [A6 - 0x12]
  894. 0000095E  8091                     or.l       D0, [A1]
  895. 00000960  2080                     move.l     [A0], D0
  896. 00000962  202E FFEE                move.l     D0, [A6 - 0x12]
  897. 00000966  8093                     or.l       D0, [A3]
  898. 00000968  2680                     move.l     [A3], D0
  899. label0000096A:
  900. 0000096A  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  901. 0000096E  4E5E                     unlink     A6
  902. 00000970  205F                     movea.l    A0, [A7]+
  903. 00000972  DEFC 000E                add.w      A7, 0xE
  904. 00000976  4ED0                     jmp        [A0]
  905. fn00000978:
  906. 00000978  4E56 FFF4                link       A6, -0x000C
  907. 0000097C  48E7 0118                movem.l    -[A7], D7,A3,A4
  908. 00000980  2E2E 0008                move.l     D7, [A6 + 0x8]
  909. 00000984  102D F2C1                move.b     D0, [A5 - 0xD3F]
  910. 00000988  6760                     beq        +0x62 /* 000009EA */
  911. 0000098A  2047                     movea.l    A0, D7
  912. 0000098C  2D48 FFF4                move.l     [A6 - 0xC], A0
  913. 00000990  102D F039                move.b     D0, [A5 - 0xFC7]
  914. 00000994  6654                     bne        +0x56 /* 000009EA */
  915. 00000996  206E FFF4                movea.l    A0, [A6 - 0xC]
  916. 0000099A  49E8 027E                lea.l      A4, [A0 + 0x27E]
  917. 0000099E  47E8 04DE                lea.l      A3, [A0 + 0x4DE]
  918. 000009A2  102C 0001                move.b     D0, [A4 + 0x1]
  919. 000009A6  B02B 0001                cmp.b      D0, [A3 + 0x1]
  920. 000009AA  56C0                     sne        D0
  921. 000009AC  322C 0006                move.w     D1, [A4 + 0x6]
  922. 000009B0  B26B 0006                cmp.w      D1, [A3 + 0x6]
  923. 000009B4  56C1                     sne        D1
  924. 000009B6  8001                     or.b       D0, D1
  925. 000009B8  670C                     beq        +0xE /* 000009C6 */
  926. 000009BA  2F07                     move.l     -[A7], D7
  927. 000009BC  2F3C 0001 0000           move.l     -[A7], 0x10000
  928. 000009C2  4EAD 193A                jsr        [A5 + 0x193A /* export_803 */]
  929. label000009C6:
  930. 000009C6  102C 000A                move.b     D0, [A4 + 0xA]
  931. 000009CA  B02B 000A                cmp.b      D0, [A3 + 0xA]
  932. 000009CE  56C0                     sne        D0
  933. 000009D0  322C 0008                move.w     D1, [A4 + 0x8]
  934. 000009D4  B26B 0008                cmp.w      D1, [A3 + 0x8]
  935. 000009D8  56C1                     sne        D1
  936. 000009DA  8001                     or.b       D0, D1
  937. 000009DC  670C                     beq        +0xE /* 000009EA */
  938. 000009DE  2F07                     move.l     -[A7], D7
  939. 000009E0  2F3C 0002 0000           move.l     -[A7], 0x20000
  940. 000009E6  4EAD 193A                jsr        [A5 + 0x193A /* export_803 */]
  941. label000009EA:
  942. 000009EA  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  943. 000009EE  4E5E                     unlink     A6
  944. 000009F0  2E9F                     move.l     [A7], [A7]+
  945. 000009F2  4E75                     rts
  946. fn000009F4:
  947. 000009F4  4E56 FFE4                link       A6, -0x001C
  948. 000009F8  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  949. 000009FC  3A2E 0008                move.w     D5, [A6 + 0x8]
  950. 00000A00  42A7                     clr.l      -[A7]
  951. 00000A02  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  952. 00000A06  4A9F                     tst.l      [A7]+
  953. 00000A08  6604                     bne        +0x6 /* 00000A0E */
  954. 00000A0A  6000 010C                bra        +0x10E /* 00000B18 */
  955. label00000A0E:
  956. 00000A0E  1C2D F1CB                move.b     D6, [A5 - 0xE35]
  957. 00000A12  1B7C 0001 F1CB           move.b     [A5 - 0xE35], 0x1
  958. 00000A18  426D F4EA                clr.w      [A5 - 0xB16]
  959. 00000A1C  1B6E 000C F4DB           move.b     [A5 - 0xB25], [A6 + 0xC]
  960. 00000A22  286D F2FA                movea.l    A4, [A5 - 0xD06]
  961. 00000A26  1F3C 0001                move.b     -[A7], 0x1
  962. 00000A2A  2F0C                     move.l     -[A7], A4
  963. 00000A2C  486E FFFA                pea.l      [A6 - 0x6]
  964. 00000A30  486E FFF6                pea.l      [A6 - 0xA]
  965. 00000A34  4EBA FD6C                jsr        [PC - 0x294 /* 000007A2 */]
  966. 00000A38  4247                     clr.w      D7
  967. label00000A3A:
  968. 00000A3A  BE6D F4EA                cmp.w      D7, [A5 - 0xB16]
  969. 00000A3E  6C3C                     bge        +0x3E /* 00000A7C */
  970. 00000A40  206D F4E4                movea.l    A0, [A5 - 0xB1C]
  971. 00000A44  2050                     movea.l    A0, [A0]
  972. 00000A46  3007                     move.w     D0, D7
  973. 00000A48  E740                     asl        D0.w, 3
  974. 00000A4A  43EE FFE8                lea.l      A1, [A6 - 0x18]
  975. 00000A4E  41F0 0000                lea.l      A0, [A0 + D0.w]
  976. 00000A52  22D8                     move.l     [A1]+, [A0]+
  977. 00000A54  22D8                     move.l     [A1]+, [A0]+
  978. 00000A56  4A45                     tst.w      D5
  979. 00000A58  6616                     bne        +0x18 /* 00000A70 */
  980. 00000A5A  2F0C                     move.l     -[A7], A4
  981. 00000A5C  486E FFE8                pea.l      [A6 - 0x18]
  982. 00000A60  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  983. 00000A64  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  984. 00000A68  1F2E 000A                move.b     -[A7], [A6 + 0xA]
  985. 00000A6C  4EBA FC38                jsr        [PC - 0x3C8 /* 000006A6 */]
  986. label00000A70:
  987. 00000A70  486E FFE8                pea.l      [A6 - 0x18]
  988. 00000A74  4EBA F592                jsr        [PC - 0xA6E /* 00000008 */]
  989. 00000A78  5247                     addq.w     D7, 1
  990. 00000A7A  60BE                     bra        -0x40 /* 00000A3A */
  991. label00000A7C:
  992. 00000A7C  7001                     moveq.l    D0, 0x01
  993. 00000A7E  B045                     cmp.w      D0, D5
  994. 00000A80  660A                     bne        +0xC /* 00000A8C */
  995. 00000A82  486D F4EC                pea.l      [A5 - 0xB14]
  996. 00000A86  4EBA FCDA                jsr        [PC - 0x326 /* 00000762 */]
  997. 00000A8A  600E                     bra        +0x10 /* 00000A9A */
  998. label00000A8C:
  999. 00000A8C  7002                     moveq.l    D0, 0x02
  1000. 00000A8E  B045                     cmp.w      D0, D5
  1001. 00000A90  6608                     bne        +0xA /* 00000A9A */
  1002. 00000A92  486D F522                pea.l      [A5 - 0xADE]
  1003. 00000A96  4EBA FCCA                jsr        [PC - 0x336 /* 00000762 */]
  1004. label00000A9A:
  1005. 00000A9A  202E FFF6                move.l     D0, [A6 - 0xA]
  1006. 00000A9E  7200                     moveq.l    D1, 0x00
  1007. 00000AA0  B081                     cmp.l      D0, D1
  1008. 00000AA2  676A                     beq        +0x6C /* 00000B0E */
  1009. 00000AA4  102D F4F4                move.b     D0, [A5 - 0xB0C]
  1010. 00000AA8  670C                     beq        +0xE /* 00000AB6 */
  1011. 00000AAA  486D F4EC                pea.l      [A5 - 0xB14]
  1012. 00000AAE  486E FFF2                pea.l      [A6 - 0xE]
  1013. 00000AB2  4EAD 14DA                jsr        [A5 + 0x14DA /* export_663 */]
  1014. label00000AB6:
  1015. 00000AB6  1B6D F4D3 F1CB           move.b     [A5 - 0xE35], [A5 - 0xB2D]
  1016. 00000ABC  7E06                     moveq.l    D7, 0x06
  1017. 00000ABE  603A                     bra        +0x3C /* 00000AFA */
  1018. label00000AC0:
  1019. 00000AC0  3007                     move.w     D0, D7
  1020. 00000AC2  6B18                     bmi        +0x1A /* 00000ADC */
  1021. 00000AC4  B07C 001F                cmp.w      D0, 0x1F
  1022. 00000AC8  6E12                     bgt        +0x14 /* 00000ADC */
  1023. 00000ACA  41EE FFFA                lea.l      A0, [A6 - 0x6]
  1024. 00000ACE  3200                     move.w     D1, D0
  1025. 00000AD0  E649                     lsr        D1.w, 3
  1026. 00000AD2  4441                     neg.w      D1
  1027. 00000AD4  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  1028. 00000AD8  0A3C 0004                xori.b     ccr, 4
  1029. label00000ADC:
  1030. 00000ADC  661A                     bne        +0x1C /* 00000AF8 */
  1031. 00000ADE  3F07                     move.w     -[A7], D7
  1032. 00000AE0  3F3C 0001                move.w     -[A7], 0x1
  1033. 00000AE4  4EBA F568                jsr        [PC - 0xA98 /* 0000004E */]
  1034. 00000AE8  3007                     move.w     D0, D7
  1035. 00000AEA  E740                     asl        D0.w, 3
  1036. 00000AEC  41EC 03EE                lea.l      A0, [A4 + 0x3EE]
  1037. 00000AF0  4870 0000                pea.l      [A0 + D0.w]
  1038. 00000AF4  4EBA F512                jsr        [PC - 0xAEE /* 00000008 */]
  1039. label00000AF8:
  1040. 00000AF8  5247                     addq.w     D7, 1
  1041. label00000AFA:
  1042. 00000AFA  701D                     moveq.l    D0, 0x1D
  1043. 00000AFC  B047                     cmp.w      D0, D7
  1044. 00000AFE  6CC0                     bge        -0x3E /* 00000AC0 */
  1045. 00000B00  102D F4F4                move.b     D0, [A5 - 0xB0C]
  1046. 00000B04  6708                     beq        +0xA /* 00000B0E */
  1047. 00000B06  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1048. 00000B0A  4EAD 14D2                jsr        [A5 + 0x14D2 /* export_662 */]
  1049. label00000B0E:
  1050. 00000B0E  2F0C                     move.l     -[A7], A4
  1051. 00000B10  4EBA FE66                jsr        [PC - 0x19A /* 00000978 */]
  1052. 00000B14  1B46 F1CB                move.b     [A5 - 0xE35], D6
  1053. label00000B18:
  1054. 00000B18  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  1055. 00000B1C  4E5E                     unlink     A6
  1056. 00000B1E  205F                     movea.l    A0, [A7]+
  1057. 00000B20  5C4F                     addq.w     A7, 6
  1058. 00000B22  4ED0                     jmp        [A0]
  1059. fn00000B24:
  1060. 00000B24  4E56 FFDA                link       A6, -0x0026
  1061. 00000B28  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  1062. 00000B2C  206E 000C                movea.l    A0, [A6 + 0xC]
  1063. 00000B30  43EE FFF8                lea.l      A1, [A6 - 0x8]
  1064. 00000B34  22D8                     move.l     [A1]+, [A0]+
  1065. 00000B36  22D8                     move.l     [A1]+, [A0]+
  1066. 00000B38  42A7                     clr.l      -[A7]
  1067. 00000B3A  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  1068. 00000B3E  4A9F                     tst.l      [A7]+
  1069. 00000B40  6604                     bne        +0x6 /* 00000B46 */
  1070. 00000B42  6000 0152                bra        +0x154 /* 00000C96 */
  1071. label00000B46:
  1072. 00000B46  102D F301                move.b     D0, [A5 - 0xCFF]
  1073. 00000B4A  670C                     beq        +0xE /* 00000B58 */
  1074. 00000B4C  486E FFF8                pea.l      [A6 - 0x8]
  1075. 00000B50  2F3C FFFE FFFE           move.l     -[A7], 0xFFFEFFFE
  1076. 00000B56  A8A9                     syscall    InsetRect
  1077. label00000B58:
  1078. 00000B58  7000                     moveq.l    D0, 0x00
  1079. 00000B5A  2640                     movea.l    A3, D0
  1080. 00000B5C  102D F4F5                move.b     D0, [A5 - 0xB0B]
  1081. 00000B60  675E                     beq        +0x60 /* 00000BC0 */
  1082. 00000B62  102D F4CF                move.b     D0, [A5 - 0xB31]
  1083. 00000B66  6728                     beq        +0x2A /* 00000B90 */
  1084. 00000B68  206D F504                movea.l    A0, [A5 - 0xAFC]
  1085. 00000B6C  2050                     movea.l    A0, [A0]
  1086. 00000B6E  226D F4CA                movea.l    A1, [A5 - 0xB36]
  1087. 00000B72  2251                     movea.l    A1, [A1]
  1088. 00000B74  2269 0016                movea.l    A1, [A1 + 0x16]
  1089. 00000B78  2251                     movea.l    A1, [A1]
  1090. 00000B7A  3028 0020                move.w     D0, [A0 + 0x20]
  1091. 00000B7E  B069 0020                cmp.w      D0, [A1 + 0x20]
  1092. 00000B82  660C                     bne        +0xE /* 00000B90 */
  1093. 00000B84  42A7                     clr.l      -[A7]
  1094. 00000B86  AA32                     syscall    GetGDevice
  1095. 00000B88  265F                     movea.l    A3, [A7]+
  1096. 00000B8A  2F2D F4CA                move.l     -[A7], [A5 - 0xB36]
  1097. 00000B8E  AA31                     syscall    SetGDevice
  1098. label00000B90:
  1099. 00000B90  7005                     moveq.l    D0, 0x05
  1100. 00000B92  6B18                     bmi        +0x1A /* 00000BAC */
  1101. 00000B94  B07C 001F                cmp.w      D0, 0x1F
  1102. 00000B98  6E12                     bgt        +0x14 /* 00000BAC */
  1103. 00000B9A  41EE 000C                lea.l      A0, [A6 + 0xC]
  1104. 00000B9E  3200                     move.w     D1, D0
  1105. 00000BA0  E649                     lsr        D1.w, 3
  1106. 00000BA2  4441                     neg.w      D1
  1107. 00000BA4  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  1108. 00000BA8  0A3C 0004                xori.b     ccr, 4
  1109. label00000BAC:
  1110. 00000BAC  6612                     bne        +0x14 /* 00000BC0 */
  1111. 00000BAE  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1112. 00000BB2  3C28 0754                move.w     D6, [A0 + 0x754]
  1113. 00000BB6  6C02                     bge        +0x4 /* 00000BBA */
  1114. 00000BB8  5246                     addq.w     D6, 1
  1115. label00000BBA:
  1116. 00000BBA  3F06                     move.w     -[A7], D6
  1117. 00000BBC  4EAD 00AA                jsr        [A5 + 0xAA /* export_17 */]
  1118. label00000BC0:
  1119. 00000BC0  4267                     clr.w      -[A7]
  1120. 00000BC2  486E FFF8                pea.l      [A6 - 0x8]
  1121. 00000BC6  206D F536                movea.l    A0, [A5 - 0xACA]
  1122. 00000BCA  4868 0010                pea.l      [A0 + 0x10]
  1123. 00000BCE  486E FFF0                pea.l      [A6 - 0x10]
  1124. 00000BD2  A8AA                     syscall    SectRect
  1125. 00000BD4  101F                     move.b     D0, [A7]+
  1126. 00000BD6  6700 00B6                beq        +0xB8 /* 00000C8E */
  1127. 00000BDA  486E FFE2                pea.l      [A6 - 0x1E]
  1128. 00000BDE  A874                     syscall    GetPort
  1129. 00000BE0  2F2D F536                move.l     -[A7], [A5 - 0xACA]
  1130. 00000BE4  A873                     syscall    SetPort
  1131. 00000BE6  1A2D F1CB                move.b     D5, [A5 - 0xE35]
  1132. 00000BEA  102D F038                move.b     D0, [A5 - 0xFC8]
  1133. 00000BEE  670E                     beq        +0x10 /* 00000BFE */
  1134. 00000BF0  2B6D F536 F4D6           move.l     [A5 - 0xB2A], [A5 - 0xACA]
  1135. 00000BF6  2F2D F532                move.l     -[A7], [A5 - 0xACE]
  1136. 00000BFA  A873                     syscall    SetPort
  1137. 00000BFC  607E                     bra        +0x80 /* 00000C7C */
  1138. label00000BFE:
  1139. 00000BFE  486E FFF0                pea.l      [A6 - 0x10]
  1140. 00000C02  1F3C 0001                move.b     -[A7], 0x1
  1141. 00000C06  4EBA F9DA                jsr        [PC - 0x626 /* 000005E2 */]
  1142. 00000C0A  1B7C 0001 F1CB           move.b     [A5 - 0xE35], 0x1
  1143. 00000C10  2F2D F2FA                move.l     -[A7], [A5 - 0xD06]
  1144. 00000C14  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1145. 00000C18  4EBA F4F0                jsr        [PC - 0xB10 /* 0000010A */]
  1146. 00000C1C  7E06                     moveq.l    D7, 0x06
  1147. 00000C1E  6056                     bra        +0x58 /* 00000C76 */
  1148. label00000C20:
  1149. 00000C20  3007                     move.w     D0, D7
  1150. 00000C22  6B18                     bmi        +0x1A /* 00000C3C */
  1151. 00000C24  B07C 001F                cmp.w      D0, 0x1F
  1152. 00000C28  6E12                     bgt        +0x14 /* 00000C3C */
  1153. 00000C2A  41EE 000C                lea.l      A0, [A6 + 0xC]
  1154. 00000C2E  3200                     move.w     D1, D0
  1155. 00000C30  E649                     lsr        D1.w, 3
  1156. 00000C32  4441                     neg.w      D1
  1157. 00000C34  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  1158. 00000C38  0A3C 0004                xori.b     ccr, 4
  1159. label00000C3C:
  1160. 00000C3C  6636                     bne        +0x38 /* 00000C74 */
  1161. 00000C3E  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1162. 00000C42  49E8 027E                lea.l      A4, [A0 + 0x27E]
  1163. 00000C46  3007                     move.w     D0, D7
  1164. 00000C48  E940                     asl        D0.w, 4
  1165. 00000C4A  4A34 00C1                tst.b      [A4 + D0.w - 0x63]
  1166. 00000C4E  6724                     beq        +0x26 /* 00000C74 */
  1167. 00000C50  4267                     clr.w      -[A7]
  1168. 00000C52  486E FFF0                pea.l      [A6 - 0x10]
  1169. 00000C56  3007                     move.w     D0, D7
  1170. 00000C58  E740                     asl        D0.w, 3
  1171. 00000C5A  41EC 0170                lea.l      A0, [A4 + 0x170]
  1172. 00000C5E  4870 0000                pea.l      [A0 + D0.w]
  1173. 00000C62  486D F4DC                pea.l      [A5 - 0xB24]
  1174. 00000C66  A8AA                     syscall    SectRect
  1175. 00000C68  101F                     move.b     D0, [A7]+
  1176. 00000C6A  6708                     beq        +0xA /* 00000C74 */
  1177. 00000C6C  3F07                     move.w     -[A7], D7
  1178. 00000C6E  4267                     clr.w      -[A7]
  1179. 00000C70  4EBA F3DC                jsr        [PC - 0xC24 /* 0000004E */]
  1180. label00000C74:
  1181. 00000C74  5247                     addq.w     D7, 1
  1182. label00000C76:
  1183. 00000C76  701D                     moveq.l    D0, 0x1D
  1184. 00000C78  B047                     cmp.w      D0, D7
  1185. 00000C7A  6CA4                     bge        -0x5A /* 00000C20 */
  1186. label00000C7C:
  1187. 00000C7C  486E FFF0                pea.l      [A6 - 0x10]
  1188. 00000C80  4EBA F856                jsr        [PC - 0x7AA /* 000004D8 */]
  1189. 00000C84  1B45 F1CB                move.b     [A5 - 0xE35], D5
  1190. 00000C88  2F2E FFE2                move.l     -[A7], [A6 - 0x1E]
  1191. 00000C8C  A873                     syscall    SetPort
  1192. label00000C8E:
  1193. 00000C8E  200B                     move.l     D0, A3
  1194. 00000C90  6704                     beq        +0x6 /* 00000C96 */
  1195. 00000C92  2F0B                     move.l     -[A7], A3
  1196. 00000C94  AA31                     syscall    SetGDevice
  1197. label00000C96:
  1198. 00000C96  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  1199. 00000C9A  4E5E                     unlink     A6
  1200. 00000C9C  205F                     movea.l    A0, [A7]+
  1201. 00000C9E  504F                     addq.w     A7, 8
  1202. 00000CA0  4ED0                     jmp        [A0]
  1203. 00000CA2  4E56 FFF8                link       A6, -0x0008
  1204. 00000CA6  206E 0008                movea.l    A0, [A6 + 0x8]
  1205. 00000CAA  43EE FFF8                lea.l      A1, [A6 - 0x8]
  1206. 00000CAE  22D8                     move.l     [A1]+, [A0]+
  1207. 00000CB0  22D8                     move.l     [A1]+, [A0]+
  1208. 00000CB2  486E FFF8                pea.l      [A6 - 0x8]
  1209. 00000CB6  2F3A 000C                move.l     -[A7], [PC + 0xC /* 00000CC4, value 0x3FFFFFC0 */]
  1210. 00000CBA  4EBA FE68                jsr        [PC - 0x198 /* 00000B24 */]
  1211. 00000CBE  4E5E                     unlink     A6
  1212. 00000CC0  2E9F                     move.l     [A7], [A7]+
  1213. 00000CC2  4E75                     rts
  1214. 00000CC4  3FFF                     move.w     <<invalid special address>>, <<invalid special address>>
  1215. 00000CC6  FFC0                     .invalid   <<F/7/7>>
  1216. 00000CC8  4E56 FFF8                link       A6, -0x0008
  1217. 00000CCC  206E 0008                movea.l    A0, [A6 + 0x8]
  1218. 00000CD0  43EE FFF8                lea.l      A1, [A6 - 0x8]
  1219. 00000CD4  22D8                     move.l     [A1]+, [A0]+
  1220. 00000CD6  22D8                     move.l     [A1]+, [A0]+
  1221. 00000CD8  486E FFF8                pea.l      [A6 - 0x8]
  1222. 00000CDC  2F3A 000C                move.l     -[A7], [PC + 0xC /* 00000CEA, value 0x0, cstring "" */]
  1223. 00000CE0  4EBA FE42                jsr        [PC - 0x1BE /* 00000B24 */]
  1224. 00000CE4  4E5E                     unlink     A6
  1225. 00000CE6  2E9F                     move.l     [A7], [A7]+
  1226. 00000CE8  4E75                     rts
  1227. 00000CEA  0000 0000                ori.b      D0, 0x0
  1228. fn00000CEE:
  1229. 00000CEE  4E56 0000                link       A6, 0
  1230. 00000CF2  2F0C                     move.l     -[A7], A4
  1231. 00000CF4  286E 0008                movea.l    A4, [A6 + 0x8]
  1232. 00000CF8  102D F08D                move.b     D0, [A5 - 0xF73]
  1233. 00000CFC  661A                     bne        +0x1C /* 00000D18 */
  1234. 00000CFE  4267                     clr.w      -[A7]
  1235. 00000D00  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  1236. 00000D04  486C FFF0                pea.l      [A4 - 0x10]
  1237. 00000D08  A970                     syscall    GetNextEvent
  1238. 00000D0A  195F FFEE                move.b     [A4 - 0x12], [A7]+
  1239. 00000D0E  206E 0008                movea.l    A0, [A6 + 0x8]
  1240. 00000D12  317C 0002 000A           move.w     [A0 + 0xA], 0x2
  1241. label00000D18:
  1242. 00000D18  285F                     movea.l    A4, [A7]+
  1243. 00000D1A  4E5E                     unlink     A6
  1244. 00000D1C  205F                     movea.l    A0, [A7]+
  1245. 00000D1E  5C4F                     addq.w     A7, 6
  1246. 00000D20  4ED0                     jmp        [A0]
  1247. fn00000D22:
  1248. 00000D22  4E56 FFE4                link       A6, -0x001C
  1249. 00000D26  2F07                     move.l     -[A7], D7
  1250. 00000D28  426E 000A                clr.w      [A6 + 0xA]
  1251. 00000D2C  4A6D EEFE                tst.w      [A5 - 0x1102]
  1252. 00000D30  6D04                     blt        +0x6 /* 00000D36 */
  1253. 00000D32  4EAD 0FFA                jsr        [A5 + 0xFFA /* export_507 */]
  1254. label00000D36:
  1255. 00000D36  4AAD EF08                tst.l      [A5 - 0x10F8]
  1256. 00000D3A  6718                     beq        +0x1A /* 00000D54 */
  1257. 00000D3C  42A7                     clr.l      -[A7]
  1258. 00000D3E  A975                     syscall    TickCount
  1259. 00000D40  201F                     move.l     D0, [A7]+
  1260. 00000D42  B0AD EF08                cmp.l      D0, [A5 - 0x10F8]
  1261. 00000D46  6F00 00A6                ble        +0xA8 /* 00000DEE */
  1262. 00000D4A  3D7C 0001 000A           move.w     [A6 + 0xA], 0x1
  1263. 00000D50  6000 009C                bra        +0x9E /* 00000DEE */
  1264. label00000D54:
  1265. 00000D54  4AAD EF04                tst.l      [A5 - 0x10FC]
  1266. 00000D58  56C0                     sne        D0
  1267. 00000D5A  4A00                     tst.b      D0
  1268. 00000D5C  6716                     beq        +0x18 /* 00000D74 */
  1269. 00000D5E  4AAD EF00                tst.l      [A5 - 0x1100]
  1270. 00000D62  56C1                     sne        D1
  1271. 00000D64  C001                     and.b      D0, D1
  1272. 00000D66  670C                     beq        +0xE /* 00000D74 */
  1273. 00000D68  2F2D EF00                move.l     -[A7], [A5 - 0x1100]
  1274. 00000D6C  2F2D EF04                move.l     -[A7], [A5 - 0x10FC]
  1275. 00000D70  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  1276. label00000D74:
  1277. 00000D74  2F3C 800A 0000           move.l     -[A7], 0x800A0000
  1278. 00000D7A  486E FFF0                pea.l      [A6 - 0x10]
  1279. 00000D7E  A971                     syscall    EventAvail
  1280. 00000D80  101F                     move.b     D0, [A7]+
  1281. 00000D82  676A                     beq        +0x6C /* 00000DEE */
  1282. 00000D84  4207                     clr.b      D7
  1283. 00000D86  302E FFF0                move.w     D0, [A6 - 0x10]
  1284. 00000D8A  0440 8000                subi.w     D0, 0x8000
  1285. 00000D8E  670C                     beq        +0xE /* 00000D9C */
  1286. 00000D90  0440 8001                subi.w     D0, 0x8001
  1287. 00000D94  670A                     beq        +0xC /* 00000DA0 */
  1288. 00000D96  5540                     subq.w     D0, 2
  1289. 00000D98  6710                     beq        +0x12 /* 00000DAA */
  1290. 00000D9A  6016                     bra        +0x18 /* 00000DB2 */
  1291. label00000D9C:
  1292. 00000D9C  7E01                     moveq.l    D7, 0x01
  1293. 00000D9E  6012                     bra        +0x14 /* 00000DB2 */
  1294. label00000DA0:
  1295. 00000DA0  1E2D F4F4                move.b     D7, [A5 - 0xB0C]
  1296. 00000DA4  0A07 0001                xori.b     D7, 0x1
  1297. 00000DA8  6008                     bra        +0xA /* 00000DB2 */
  1298. label00000DAA:
  1299. 00000DAA  1E2D EEEF                move.b     D7, [A5 - 0x1111]
  1300. 00000DAE  0A07 0001                xori.b     D7, 0x1
  1301. label00000DB2:
  1302. 00000DB2  102E 0008                move.b     D0, [A6 + 0x8]
  1303. 00000DB6  6702                     beq        +0x4 /* 00000DBA */
  1304. 00000DB8  7E01                     moveq.l    D7, 0x01
  1305. label00000DBA:
  1306. 00000DBA  1007                     move.b     D0, D7
  1307. 00000DBC  6730                     beq        +0x32 /* 00000DEE */
  1308. 00000DBE  3D7C 0001 000A           move.w     [A6 + 0xA], 0x1
  1309. 00000DC4  102E 0008                move.b     D0, [A6 + 0x8]
  1310. 00000DC8  6724                     beq        +0x26 /* 00000DEE */
  1311. 00000DCA  302E FFF0                move.w     D0, [A6 - 0x10]
  1312. 00000DCE  5340                     subq.w     D0, 1
  1313. 00000DD0  6706                     beq        +0x8 /* 00000DD8 */
  1314. 00000DD2  5540                     subq.w     D0, 2
  1315. 00000DD4  670E                     beq        +0x10 /* 00000DE4 */
  1316. 00000DD6  6016                     bra        +0x18 /* 00000DEE */
  1317. label00000DD8:
  1318. 00000DD8  3F3C 0002                move.w     -[A7], 0x2
  1319. 00000DDC  2F0E                     move.l     -[A7], A6
  1320. 00000DDE  4EBA FF0E                jsr        [PC - 0xF2 /* 00000CEE */]
  1321. 00000DE2  600A                     bra        +0xC /* 00000DEE */
  1322. label00000DE4:
  1323. 00000DE4  3F3C 0008                move.w     -[A7], 0x8
  1324. 00000DE8  2F0E                     move.l     -[A7], A6
  1325. 00000DEA  4EBA FF02                jsr        [PC - 0xFE /* 00000CEE */]
  1326. label00000DEE:
  1327. 00000DEE  2E1F                     move.l     D7, [A7]+
  1328. 00000DF0  4E5E                     unlink     A6
  1329. 00000DF2  205F                     movea.l    A0, [A7]+
  1330. 00000DF4  544F                     addq.w     A7, 2
  1331. 00000DF6  4ED0                     jmp        [A0]
  1332. fn00000DF8:
  1333. 00000DF8  4E56 FFF4                link       A6, -0x000C
  1334. 00000DFC  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  1335. 00000E00  2E2E 000A                move.l     D7, [A6 + 0xA]
  1336. 00000E04  6C04                     bge        +0x6 /* 00000E0A */
  1337. 00000E06  6000 00EA                bra        +0xEC /* 00000EF2 */
  1338. label00000E0A:
  1339. 00000E0A  102D EF81                move.b     D0, [A5 - 0x107F]
  1340. 00000E0E  670A                     beq        +0xC /* 00000E1A */
  1341. 00000E10  7080                     moveq.l    D0, 0xFFFFFF80
  1342. 00000E12  B06E 0008                cmp.w      D0, [A6 + 0x8]
  1343. 00000E16  6602                     bne        +0x4 /* 00000E1A */
  1344. 00000E18  7E1E                     moveq.l    D7, 0x1E
  1345. label00000E1A:
  1346. 00000E1A  42A7                     clr.l      -[A7]
  1347. 00000E1C  A975                     syscall    TickCount
  1348. 00000E1E  2007                     move.l     D0, D7
  1349. 00000E20  D09F                     add.l      D0, [A7]+
  1350. 00000E22  2D40 FFFC                move.l     [A6 - 0x4], D0
  1351. 00000E26  7A00                     moveq.l    D5, 0x00
  1352. 00000E28  7C01                     moveq.l    D6, 0x01
  1353. 00000E2A  4A87                     tst.l      D7
  1354. 00000E2C  57C0                     seq        D0
  1355. 00000E2E  C02D F4F4                and.b      D0, [A5 - 0xB0C]
  1356. 00000E32  122D F083                move.b     D1, [A5 - 0xF7D]
  1357. 00000E36  0A01 0001                xori.b     D1, 0x1
  1358. 00000E3A  C001                     and.b      D0, D1
  1359. 00000E3C  1800                     move.b     D4, D0
  1360. 00000E3E  3D6D F07C FFF4           move.w     [A6 - 0xC], [A5 - 0xF84]
  1361. 00000E44  1004                     move.b     D0, D4
  1362. 00000E46  6704                     beq        +0x6 /* 00000E4C */
  1363. 00000E48  4EAD 132A                jsr        [A5 + 0x132A /* export_609 */]
  1364. label00000E4C:
  1365. 00000E4C  4A87                     tst.l      D7
  1366. 00000E4E  5EC0                     sgt        D0
  1367. 00000E50  4A00                     tst.b      D0
  1368. 00000E52  6716                     beq        +0x18 /* 00000E6A */
  1369. 00000E54  2F00                     move.l     -[A7], D0
  1370. 00000E56  42A7                     clr.l      -[A7]
  1371. 00000E58  A975                     syscall    TickCount
  1372. 00000E5A  221F                     move.l     D1, [A7]+
  1373. 00000E5C  201F                     move.l     D0, [A7]+
  1374. 00000E5E  B2AE FFFC                cmp.l      D1, [A6 - 0x4]
  1375. 00000E62  5CC1                     sge        D1
  1376. 00000E64  C001                     and.b      D0, D1
  1377. 00000E66  6702                     beq        +0x4 /* 00000E6A */
  1378. 00000E68  6074                     bra        +0x76 /* 00000EDE */
  1379. label00000E6A:
  1380. 00000E6A  302E 0008                move.w     D0, [A6 + 0x8]
  1381. 00000E6E  0440 FF80                subi.w     D0, 0xFF80
  1382. 00000E72  670A                     beq        +0xC /* 00000E7E */
  1383. 00000E74  5D40                     subq.w     D0, 6
  1384. 00000E76  673C                     beq        +0x3E /* 00000EB4 */
  1385. 00000E78  5340                     subq.w     D0, 1
  1386. 00000E7A  6738                     beq        +0x3A /* 00000EB4 */
  1387. 00000E7C  604C                     bra        +0x4E /* 00000ECA */
  1388. label00000E7E:
  1389. 00000E7E  102D EF81                move.b     D0, [A5 - 0x107F]
  1390. 00000E82  6646                     bne        +0x48 /* 00000ECA */
  1391. 00000E84  42A7                     clr.l      -[A7]
  1392. 00000E86  A975                     syscall    TickCount
  1393. 00000E88  2005                     move.l     D0, D5
  1394. 00000E8A  723C                     moveq.l    D1, 0x3C
  1395. 00000E8C  D081                     add.l      D0, D1
  1396. 00000E8E  B09F                     cmp.l      D0, [A7]+
  1397. 00000E90  6C38                     bge        +0x3A /* 00000ECA */
  1398. 00000E92  1006                     move.b     D0, D6
  1399. 00000E94  670A                     beq        +0xC /* 00000EA0 */
  1400. 00000E96  3F3C 011A                move.w     -[A7], 0x11A
  1401. 00000E9A  4EAD 1332                jsr        [A5 + 0x1332 /* export_610 */]
  1402. 00000E9E  6008                     bra        +0xA /* 00000EA8 */
  1403. label00000EA0:
  1404. 00000EA0  3F3C 011B                move.w     -[A7], 0x11B
  1405. 00000EA4  4EAD 1332                jsr        [A5 + 0x1332 /* export_610 */]
  1406. label00000EA8:
  1407. 00000EA8  0A06 0001                xori.b     D6, 0x1
  1408. 00000EAC  42A7                     clr.l      -[A7]
  1409. 00000EAE  A975                     syscall    TickCount
  1410. 00000EB0  2A1F                     move.l     D5, [A7]+
  1411. 00000EB2  6016                     bra        +0x18 /* 00000ECA */
  1412. label00000EB4:
  1413. 00000EB4  4267                     clr.w      -[A7]
  1414. 00000EB6  7087                     moveq.l    D0, 0xFFFFFF87
  1415. 00000EB8  906E 0008                sub.w      D0, [A6 + 0x8]
  1416. 00000EBC  5240                     addq.w     D0, 1
  1417. 00000EBE  3F00                     move.w     -[A7], D0
  1418. 00000EC0  4EAD 10DA                jsr        [A5 + 0x10DA /* export_535 */]
  1419. 00000EC4  101F                     move.b     D0, [A7]+
  1420. 00000EC6  6602                     bne        +0x4 /* 00000ECA */
  1421. 00000EC8  6014                     bra        +0x16 /* 00000EDE */
  1422. label00000ECA:
  1423. 00000ECA  4267                     clr.w      -[A7]
  1424. 00000ECC  4A87                     tst.l      D7
  1425. 00000ECE  57C0                     seq        D0
  1426. 00000ED0  4400                     neg.b      D0
  1427. 00000ED2  1F00                     move.b     -[A7], D0
  1428. 00000ED4  4EBA FE4C                jsr        [PC - 0x1B4 /* 00000D22 */]
  1429. 00000ED8  4A5F                     tst.w      [A7]+
  1430. 00000EDA  6700 FF70                beq        -0x8E /* 00000E4C */
  1431. label00000EDE:
  1432. 00000EDE  4A87                     tst.l      D7
  1433. 00000EE0  6610                     bne        +0x12 /* 00000EF2 */
  1434. 00000EE2  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  1435. 00000EE6  4EAD 1332                jsr        [A5 + 0x1332 /* export_610 */]
  1436. 00000EEA  1004                     move.b     D0, D4
  1437. 00000EEC  6704                     beq        +0x6 /* 00000EF2 */
  1438. 00000EEE  4EAD 1322                jsr        [A5 + 0x1322 /* export_608 */]
  1439. label00000EF2:
  1440. 00000EF2  4CDF 00F0                movem.l    D4,D5,D6,D7, [A7]+
  1441. 00000EF6  4E5E                     unlink     A6
  1442. 00000EF8  205F                     movea.l    A0, [A7]+
  1443. 00000EFA  5C4F                     addq.w     A7, 6
  1444. 00000EFC  4ED0                     jmp        [A0]
  1445. fn00000EFE:
  1446. 00000EFE  4E56 0000                link       A6, 0
  1447. 00000F02  701E                     moveq.l    D0, 0x1E
  1448. 00000F04  906E 0008                sub.w      D0, [A6 + 0x8]
  1449. 00000F08  3D40 0008                move.w     [A6 + 0x8], D0
  1450. label00000F0C:
  1451. 00000F0C  4267                     clr.w      -[A7]
  1452. 00000F0E  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1453. 00000F12  4EAD 1742                jsr        [A5 + 0x1742 /* export_740 */]
  1454. 00000F16  101F                     move.b     D0, [A7]+
  1455. 00000F18  6626                     bne        +0x28 /* 00000F40 */
  1456. 00000F1A  4A6E 0008                tst.w      [A6 + 0x8]
  1457. 00000F1E  6F0E                     ble        +0x10 /* 00000F2E */
  1458. 00000F20  302E 0008                move.w     D0, [A6 + 0x8]
  1459. 00000F24  48C0                     ext.l      D0
  1460. 00000F26  2F00                     move.l     -[A7], D0
  1461. 00000F28  4267                     clr.w      -[A7]
  1462. 00000F2A  4EBA FECC                jsr        [PC - 0x134 /* 00000DF8 */]
  1463. label00000F2E:
  1464. 00000F2E  42A7                     clr.l      -[A7]
  1465. 00000F30  4EBA FDF0                jsr        [PC - 0x210 /* 00000D22 */]
  1466. 00000F34  4A5F                     tst.w      [A7]+
  1467. 00000F36  67D4                     beq        -0x2A /* 00000F0C */
  1468. 00000F38  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1469. 00000F3C  4EAD 171A                jsr        [A5 + 0x171A /* export_735 */]
  1470. label00000F40:
  1471. 00000F40  4E5E                     unlink     A6
  1472. 00000F42  205F                     movea.l    A0, [A7]+
  1473. 00000F44  5C4F                     addq.w     A7, 6
  1474. 00000F46  4ED0                     jmp        [A0]
  1475. fn00000F48:
  1476. 00000F48  4E56 FFFC                link       A6, -0x0004
  1477. 00000F4C  206E 000A                movea.l    A0, [A6 + 0xA]
  1478. 00000F50  2D48 FFFC                move.l     [A6 - 0x4], A0
  1479. 00000F54  302E 0008                move.w     D0, [A6 + 0x8]
  1480. 00000F58  B06D F1D6                cmp.w      D0, [A5 - 0xE2A]
  1481. 00000F5C  6706                     beq        +0x8 /* 00000F64 */
  1482. 00000F5E  3B6E 0008 F1D6           move.w     [A5 - 0xE2A], [A6 + 0x8]
  1483. label00000F64:
  1484. 00000F64  4E5E                     unlink     A6
  1485. 00000F66  205F                     movea.l    A0, [A7]+
  1486. 00000F68  5C4F                     addq.w     A7, 6
  1487. 00000F6A  4ED0                     jmp        [A0]
  1488. fn00000F6C:
  1489. 00000F6C  4E56 0000                link       A6, 0
  1490. 00000F70  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1491. 00000F74  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  1492. 00000F78  4EBA FFCE                jsr        [PC - 0x32 /* 00000F48 */]
  1493. label00000F7C:
  1494. 00000F7C  4267                     clr.w      -[A7]
  1495. 00000F7E  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1496. 00000F82  4EAD 173A                jsr        [A5 + 0x173A /* export_739 */]
  1497. 00000F86  101F                     move.b     D0, [A7]+
  1498. 00000F88  6612                     bne        +0x14 /* 00000F9C */
  1499. 00000F8A  42A7                     clr.l      -[A7]
  1500. 00000F8C  4EBA FD94                jsr        [PC - 0x26C /* 00000D22 */]
  1501. 00000F90  4A5F                     tst.w      [A7]+
  1502. 00000F92  67E8                     beq        -0x16 /* 00000F7C */
  1503. 00000F94  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1504. 00000F98  4EAD 171A                jsr        [A5 + 0x171A /* export_735 */]
  1505. label00000F9C:
  1506. 00000F9C  4E5E                     unlink     A6
  1507. 00000F9E  205F                     movea.l    A0, [A7]+
  1508. 00000FA0  5C4F                     addq.w     A7, 6
  1509. 00000FA2  4ED0                     jmp        [A0]
  1510. fn00000FA4:
  1511. 00000FA4  4E56 FF96                link       A6, -0x006A
  1512. 00000FA8  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  1513. 00000FAC  42A7                     clr.l      -[A7]
  1514. 00000FAE  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  1515. 00000FB2  4A9F                     tst.l      [A7]+
  1516. 00000FB4  6604                     bne        +0x6 /* 00000FBA */
  1517. 00000FB6  6000 060C                bra        +0x60E /* 000015C4 */
  1518. label00000FBA:
  1519. 00000FBA  42A7                     clr.l      -[A7]
  1520. 00000FBC  A975                     syscall    TickCount
  1521. 00000FBE  2D5F FFCA                move.l     [A6 - 0x36], [A7]+
  1522. 00000FC2  426E FFA6                clr.w      [A6 - 0x5A]
  1523. 00000FC6  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1524. 00000FCA  2D48 FFA2                move.l     [A6 - 0x5E], A0
  1525. 00000FCE  49E8 027E                lea.l      A4, [A0 + 0x27E]
  1526. 00000FD2  102D F2BF                move.b     D0, [A5 - 0xD41]
  1527. 00000FD6  C02D F07B                and.b      D0, [A5 - 0xF85]
  1528. 00000FDA  1D40 FFF6                move.b     [A6 - 0xA], D0
  1529. 00000FDE  4A2C 0004                tst.b      [A4 + 0x4]
  1530. 00000FE2  5DC0                     slt        D0
  1531. 00000FE4  4A00                     tst.b      D0
  1532. 00000FE6  6704                     beq        +0x6 /* 00000FEC */
  1533. 00000FE8  C02E FFF6                and.b      D0, [A6 - 0xA]
  1534. label00000FEC:
  1535. 00000FEC  1D40 FFF7                move.b     [A6 - 0x9], D0
  1536. 00000FF0  4A2C 0005                tst.b      [A4 + 0x5]
  1537. 00000FF4  56C0                     sne        D0
  1538. 00000FF6  4A00                     tst.b      D0
  1539. 00000FF8  672E                     beq        +0x30 /* 00001028 */
  1540. 00000FFA  C02E FFF6                and.b      D0, [A6 - 0xA]
  1541. 00000FFE  6728                     beq        +0x2A /* 00001028 */
  1542. 00001000  1D7C 0001 FFF9           move.b     [A6 - 0x7], 0x1
  1543. 00001006  1B6C 0005 F51A           move.b     [A5 - 0xAE6], [A4 + 0x5]
  1544. 0000100C  102C 0002                move.b     D0, [A4 + 0x2]
  1545. 00001010  4880                     ext.w      D0
  1546. 00001012  3B40 F51C                move.w     [A5 - 0xAE4], D0
  1547. 00001016  7000                     moveq.l    D0, 0x00
  1548. 00001018  102C 0003                move.b     D0, [A4 + 0x3]
  1549. 0000101C  C0BC 0000 00FF           and.l      D0, 0xFF
  1550. 00001022  3B40 F51E                move.w     [A5 - 0xAE2], D0
  1551. 00001026  6004                     bra        +0x6 /* 0000102C */
  1552. label00001028:
  1553. 00001028  422E FFF9                clr.b      [A6 - 0x7]
  1554. label0000102C:
  1555. 0000102C  4247                     clr.w      D7
  1556. 0000102E  422E FFA9                clr.b      [A6 - 0x57]
  1557. 00001032  102D F4F5                move.b     D0, [A5 - 0xB0B]
  1558. 00001036  6700 00EA                beq        +0xEC /* 00001122 */
  1559. 0000103A  42A7                     clr.l      -[A7]
  1560. 0000103C  AA32                     syscall    GetGDevice
  1561. 0000103E  2D5F FFDC                move.l     [A6 - 0x24], [A7]+
  1562. 00001042  2F2D F4CA                move.l     -[A7], [A5 - 0xB36]
  1563. 00001046  AA31                     syscall    SetGDevice
  1564. 00001048  102E FFF9                move.b     D0, [A6 - 0x7]
  1565. 0000104C  674C                     beq        +0x4E /* 0000109A */
  1566. 0000104E  4AAD EEE2                tst.l      [A5 - 0x111E]
  1567. 00001052  56C1                     sne        D1
  1568. 00001054  C001                     and.b      D0, D1
  1569. 00001056  6742                     beq        +0x44 /* 0000109A */
  1570. 00001058  4267                     clr.w      -[A7]
  1571. 0000105A  102D F51A                move.b     D0, [A5 - 0xAE6]
  1572. 0000105E  4880                     ext.w      D0
  1573. 00001060  3F00                     move.w     -[A7], D0
  1574. 00001062  4EAD 0FCA                jsr        [A5 + 0xFCA /* export_501 */]
  1575. 00001066  101F                     move.b     D0, [A7]+
  1576. 00001068  6602                     bne        +0x4 /* 0000106C */
  1577. 0000106A  602E                     bra        +0x30 /* 0000109A */
  1578. label0000106C:
  1579. 0000106C  42A7                     clr.l      -[A7]
  1580. 0000106E  3F3C 0001                move.w     -[A7], 0x1
  1581. 00001072  4EBA F980                jsr        [PC - 0x680 /* 000009F4 */]
  1582. 00001076  2F2D F504                move.l     -[A7], [A5 - 0xAFC]
  1583. 0000107A  486E FF9A                pea.l      [A6 - 0x66]
  1584. 0000107E  4EAD 1472                jsr        [A5 + 0x1472 /* export_650 */]
  1585. 00001082  102D F51A                move.b     D0, [A5 - 0xAE6]
  1586. 00001086  4880                     ext.w      D0
  1587. 00001088  3F00                     move.w     -[A7], D0
  1588. 0000108A  3F2D F51C                move.w     -[A7], [A5 - 0xAE4]
  1589. 0000108E  3F2D F51E                move.w     -[A7], [A5 - 0xAE2]
  1590. 00001092  4EAD 0FC2                jsr        [A5 + 0xFC2 /* export_500 */]
  1591. 00001096  6000 0518                bra        +0x51A /* 000015B0 */
  1592. label0000109A:
  1593. 0000109A  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1594. 0000109E  3A28 0754                move.w     D5, [A0 + 0x754]
  1595. 000010A2  6C02                     bge        +0x4 /* 000010A6 */
  1596. 000010A4  5245                     addq.w     D5, 1
  1597. label000010A6:
  1598. 000010A6  7000                     moveq.l    D0, 0x00
  1599. 000010A8  2640                     movea.l    A3, D0
  1600. 000010AA  102E FFF6                move.b     D0, [A6 - 0xA]
  1601. 000010AE  6728                     beq        +0x2A /* 000010D8 */
  1602. 000010B0  42A7                     clr.l      -[A7]
  1603. 000010B2  3F05                     move.w     -[A7], D5
  1604. 000010B4  4267                     clr.w      -[A7]
  1605. 000010B6  4EAD 16BA                jsr        [A5 + 0x16BA /* export_723 */]
  1606. 000010BA  265F                     movea.l    A3, [A7]+
  1607. 000010BC  4267                     clr.w      -[A7]
  1608. 000010BE  486D F1CE                pea.l      [A5 - 0xE32]
  1609. 000010C2  2F0B                     move.l     -[A7], A3
  1610. 000010C4  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1611. 000010C8  4868 0754                pea.l      [A0 + 0x754]
  1612. 000010CC  1F2E FFF9                move.b     -[A7], [A6 - 0x7]
  1613. 000010D0  4EAD 1722                jsr        [A5 + 0x1722 /* export_736 */]
  1614. 000010D4  3E1F                     move.w     D7, [A7]+
  1615. 000010D6  6008                     bra        +0xA /* 000010E0 */
  1616. label000010D8:
  1617. 000010D8  BA6D F1D6                cmp.w      D5, [A5 - 0xE2A]
  1618. 000010DC  6702                     beq        +0x4 /* 000010E0 */
  1619. 000010DE  7E01                     moveq.l    D7, 0x01
  1620. label000010E0:
  1621. 000010E0  7005                     moveq.l    D0, 0x05
  1622. 000010E2  B047                     cmp.w      D0, D7
  1623. 000010E4  57C0                     seq        D0
  1624. 000010E6  720B                     moveq.l    D1, 0x0B
  1625. 000010E8  B247                     cmp.w      D1, D7
  1626. 000010EA  57C1                     seq        D1
  1627. 000010EC  8001                     or.b       D0, D1
  1628. 000010EE  6706                     beq        +0x8 /* 000010F6 */
  1629. 000010F0  1D7C 0001 FFA9           move.b     [A6 - 0x57], 0x1
  1630. label000010F6:
  1631. 000010F6  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1632. 000010FA  1028 0758                move.b     D0, [A0 + 0x758]
  1633. 000010FE  4880                     ext.w      D0
  1634. 00001100  48C0                     ext.l      D0
  1635. 00001102  2D40 FFD2                move.l     [A6 - 0x2E], D0
  1636. 00001106  08AE 0007 FFD5           bclr.b     [A6 - 0x2B], 0x7
  1637. 0000110C  08AE 0002 FFD5           bclr.b     [A6 - 0x2B], 0x2
  1638. 00001112  08AE 0006 FFD5           bclr.b     [A6 - 0x2B], 0x6
  1639. 00001118  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1640. 0000111C  116E FFD5 0758           move.b     [A0 + 0x758], [A6 - 0x2B]
  1641. label00001122:
  1642. 00001122  4A47                     tst.w      D7
  1643. 00001124  56C0                     sne        D0
  1644. 00001126  4400                     neg.b      D0
  1645. 00001128  1D40 FFF8                move.b     [A6 - 0x8], D0
  1646. 0000112C  102E FFF9                move.b     D0, [A6 - 0x7]
  1647. 00001130  6700 0280                beq        +0x282 /* 000013B2 */
  1648. 00001134  102D F4D5                move.b     D0, [A5 - 0xB2B]
  1649. 00001138  674E                     beq        +0x50 /* 00001188 */
  1650. 0000113A  102E FFF6                move.b     D0, [A6 - 0xA]
  1651. 0000113E  6744                     beq        +0x46 /* 00001184 */
  1652. 00001140  220B                     move.l     D1, A3
  1653. 00001142  56C1                     sne        D1
  1654. 00001144  C001                     and.b      D0, D1
  1655. 00001146  673C                     beq        +0x3E /* 00001184 */
  1656. 00001148  2F0B                     move.l     -[A7], A3
  1657. 0000114A  42A7                     clr.l      -[A7]
  1658. 0000114C  4267                     clr.w      -[A7]
  1659. 0000114E  AA39                     syscall    MakeITable
  1660. 00001150  42A7                     clr.l      -[A7]
  1661. 00001152  AA32                     syscall    GetGDevice
  1662. 00001154  205F                     movea.l    A0, [A7]+
  1663. 00001156  2050                     movea.l    A0, [A0]
  1664. 00001158  2068 0006                movea.l    A0, [A0 + 0x6]
  1665. 0000115C  2050                     movea.l    A0, [A0]
  1666. 0000115E  2F08                     move.l     -[A7], A0
  1667. 00001160  42A7                     clr.l      -[A7]
  1668. 00001162  AA32                     syscall    GetGDevice
  1669. 00001164  201F                     move.l     D0, [A7]+
  1670. 00001166  205F                     movea.l    A0, [A7]+
  1671. 00001168  2240                     movea.l    A1, D0
  1672. 0000116A  2251                     movea.l    A1, [A1]
  1673. 0000116C  2269 0016                movea.l    A1, [A1 + 0x16]
  1674. 00001170  2251                     movea.l    A1, [A1]
  1675. 00001172  2269 002A                movea.l    A1, [A1 + 0x2A]
  1676. 00001176  2251                     movea.l    A1, [A1]
  1677. 00001178  2091                     move.l     [A0], [A1]
  1678. 0000117A  2B4B F1BE                move.l     [A5 - 0xE42], A3
  1679. 0000117E  4EAD 16EA                jsr        [A5 + 0x16EA /* export_729 */]
  1680. 00001182  6004                     bra        +0x6 /* 00001188 */
  1681. label00001184:
  1682. 00001184  422D F4D5                clr.b      [A5 - 0xB2B]
  1683. label00001188:
  1684. 00001188  42A7                     clr.l      -[A7]
  1685. 0000118A  082D 0007 F51D           btst.b     [A5 - 0xAE3], 0x7
  1686. 00001190  56C0                     sne        D0
  1687. 00001192  2F00                     move.l     -[A7], D0
  1688. 00001194  4267                     clr.w      -[A7]
  1689. 00001196  486D F522                pea.l      [A5 - 0xADE]
  1690. 0000119A  A8AE                     syscall    EmptyRect
  1691. 0000119C  121F                     move.b     D1, [A7]+
  1692. 0000119E  201F                     move.l     D0, [A7]+
  1693. 000011A0  0A01 0001                xori.b     D1, 0x1
  1694. 000011A4  C001                     and.b      D0, D1
  1695. 000011A6  4880                     ext.w      D0
  1696. 000011A8  5240                     addq.w     D0, 1
  1697. 000011AA  3F00                     move.w     -[A7], D0
  1698. 000011AC  4EBA F846                jsr        [PC - 0x7BA /* 000009F4 */]
  1699. 000011B0  102D F4F4                move.b     D0, [A5 - 0xB0C]
  1700. 000011B4  6708                     beq        +0xA /* 000011BE */
  1701. 000011B6  486D F53C                pea.l      [A5 - 0xAC4]
  1702. 000011BA  A873                     syscall    SetPort
  1703. 000011BC  6006                     bra        +0x8 /* 000011C4 */
  1704. label000011BE:
  1705. 000011BE  2F2D F536                move.l     -[A7], [A5 - 0xACA]
  1706. 000011C2  A873                     syscall    SetPort
  1707. label000011C4:
  1708. 000011C4  4AAD F2A2                tst.l      [A5 - 0xD5E]
  1709. 000011C8  662A                     bne        +0x2C /* 000011F4 */
  1710. 000011CA  206D F306                movea.l    A0, [A5 - 0xCFA]
  1711. 000011CE  0C50 00FF                cmpi.w     [A0], 0xFF
  1712. 000011D2  660E                     bne        +0x10 /* 000011E2 */
  1713. 000011D4  41EE FFB6                lea.l      A0, [A6 - 0x4A]
  1714. 000011D8  43ED FFEC                lea.l      A1, [A5 - 0x14]
  1715. 000011DC  20D9                     move.l     [A0]+, [A1]+
  1716. 000011DE  20D9                     move.l     [A0]+, [A1]+
  1717. 000011E0  600C                     bra        +0xE /* 000011EE */
  1718. label000011E2:
  1719. 000011E2  41EE FFB6                lea.l      A0, [A6 - 0x4A]
  1720. 000011E6  43ED FFF4                lea.l      A1, [A5 - 0xC]
  1721. 000011EA  20D9                     move.l     [A0]+, [A1]+
  1722. 000011EC  20D9                     move.l     [A0]+, [A1]+
  1723. label000011EE:
  1724. 000011EE  486E FFB6                pea.l      [A6 - 0x4A]
  1725. 000011F2  A87C                     syscall    BackPat
  1726. label000011F4:
  1727. 000011F4  7000                     moveq.l    D0, 0x00
  1728. 000011F6  2B40 F52A                move.l     [A5 - 0xAD6], D0
  1729. 000011FA  4267                     clr.w      -[A7]
  1730. 000011FC  486D F4EC                pea.l      [A5 - 0xB14]
  1731. 00001200  4EAD 10C2                jsr        [A5 + 0x10C2 /* export_532 */]
  1732. 00001204  381F                     move.w     D4, [A7]+
  1733. 00001206  3C04                     move.w     D6, D4
  1734. 00001208  102E FFF8                move.b     D0, [A6 - 0x8]
  1735. 0000120C  676A                     beq        +0x6C /* 00001278 */
  1736. 0000120E  7000                     moveq.l    D0, 0x00
  1737. 00001210  302D F51C                move.w     D0, [A5 - 0xAE4]
  1738. 00001214  C0BC 0000 007F           and.l      D0, 0x7F
  1739. 0000121A  2F00                     move.l     -[A7], D0
  1740. 0000121C  700A                     moveq.l    D0, 0x0A
  1741. 0000121E  2F00                     move.l     -[A7], D0
  1742. 00001220  4EAD 03B2                jsr        [A5 + 0x3B2 /* export_114 */]
  1743. 00001224  201F                     move.l     D0, [A7]+
  1744. 00001226  3D40 FFBE                move.w     [A6 - 0x42], D0
  1745. 0000122A  BC6E FFBE                cmp.w      D6, [A6 - 0x42]
  1746. 0000122E  6F04                     ble        +0x6 /* 00001234 */
  1747. 00001230  3C2E FFBE                move.w     D6, [A6 - 0x42]
  1748. label00001234:
  1749. 00001234  7014                     moveq.l    D0, 0x14
  1750. 00001236  B046                     cmp.w      D0, D6
  1751. 00001238  6F02                     ble        +0x4 /* 0000123C */
  1752. 0000123A  7C14                     moveq.l    D6, 0x14
  1753. label0000123C:
  1754. 0000123C  3006                     move.w     D0, D6
  1755. 0000123E  48C0                     ext.l      D0
  1756. 00001240  7200                     moveq.l    D1, 0x00
  1757. 00001242  3204                     move.w     D1, D4
  1758. 00001244  E689                     lsr        D1, 3
  1759. 00001246  B280                     cmp.l      D1, D0
  1760. 00001248  6F08                     ble        +0xA /* 00001252 */
  1761. 0000124A  7000                     moveq.l    D0, 0x00
  1762. 0000124C  3004                     move.w     D0, D4
  1763. 0000124E  E688                     lsr        D0, 3
  1764. 00001250  3C00                     move.w     D6, D0
  1765. label00001252:
  1766. 00001252  0C46 07D0                cmpi.w     D6, 0x7D0
  1767. 00001256  6F04                     ble        +0x6 /* 0000125C */
  1768. 00001258  3C3C 07D0                move.w     D6, 0x7D0
  1769. label0000125C:
  1770. 0000125C  7005                     moveq.l    D0, 0x05
  1771. 0000125E  B047                     cmp.w      D0, D7
  1772. 00001260  670C                     beq        +0xE /* 0000126E */
  1773. 00001262  486D F1CE                pea.l      [A5 - 0xE32]
  1774. 00001266  2F0B                     move.l     -[A7], A3
  1775. 00001268  3F06                     move.w     -[A7], D6
  1776. 0000126A  4EAD 172A                jsr        [A5 + 0x172A /* export_737 */]
  1777. label0000126E:
  1778. 0000126E  486D F1CE                pea.l      [A5 - 0xE32]
  1779. 00001272  3F05                     move.w     -[A7], D5
  1780. 00001274  4EBA FCD2                jsr        [PC - 0x32E /* 00000F48 */]
  1781. label00001278:
  1782. 00001278  42A7                     clr.l      -[A7]
  1783. 0000127A  7000                     moveq.l    D0, 0x00
  1784. 0000127C  302D F51C                move.w     D0, [A5 - 0xAE4]
  1785. 00001280  C0BC 0000 007F           and.l      D0, 0x7F
  1786. 00001286  2F00                     move.l     -[A7], D0
  1787. 00001288  700F                     moveq.l    D0, 0x0F
  1788. 0000128A  2F00                     move.l     -[A7], D0
  1789. 0000128C  4EAD 03B2                jsr        [A5 + 0x3B2 /* export_114 */]
  1790. 00001290  201F                     move.l     D0, [A7]+
  1791. 00001292  3F00                     move.w     -[A7], D0
  1792. 00001294  3F04                     move.w     -[A7], D4
  1793. 00001296  A869                     syscall    FixRatio
  1794. 00001298  2D5F FFEA                move.l     [A6 - 0x16], [A7]+
  1795. 0000129C  42A7                     clr.l      -[A7]
  1796. 0000129E  A975                     syscall    TickCount
  1797. 000012A0  2D5F FFCA                move.l     [A6 - 0x36], [A7]+
  1798. 000012A4  422E FFFB                clr.b      [A6 - 0x5]
  1799. 000012A8  102E FFF8                move.b     D0, [A6 - 0x8]
  1800. 000012AC  0A00 0001                xori.b     D0, 0x1
  1801. 000012B0  1D40 FFFA                move.b     [A6 - 0x6], D0
  1802. 000012B4  7005                     moveq.l    D0, 0x05
  1803. 000012B6  B047                     cmp.w      D0, D7
  1804. 000012B8  6606                     bne        +0x8 /* 000012C0 */
  1805. 000012BA  1D7C 0001 FFFA           move.b     [A6 - 0x6], 0x1
  1806. label000012C0:
  1807. 000012C0  7000                     moveq.l    D0, 0x00
  1808. 000012C2  2D40 FFEE                move.l     [A6 - 0x12], D0
  1809. 000012C6  102E FFFA                move.b     D0, [A6 - 0x6]
  1810. 000012CA  6708                     beq        +0xA /* 000012D4 */
  1811. 000012CC  383C 3E80                move.w     D4, 0x3E80
  1812. 000012D0  7C01                     moveq.l    D6, 0x01
  1813. 000012D2  6002                     bra        +0x4 /* 000012D6 */
  1814. label000012D4:
  1815. 000012D4  5344                     subq.w     D4, 1
  1816. label000012D6:
  1817. 000012D6  5346                     subq.w     D6, 1
  1818. 000012D8  3D44 FFFC                move.w     [A6 - 0x4], D4
  1819. 000012DC  3D46 FFFE                move.w     [A6 - 0x2], D6
  1820. label000012E0:
  1821. 000012E0  536E FFFE                subq.w     [A6 - 0x2], 1
  1822. 000012E4  536E FFFC                subq.w     [A6 - 0x4], 1
  1823. 000012E8  42A7                     clr.l      -[A7]
  1824. 000012EA  4EBA FA36                jsr        [PC - 0x5CA /* 00000D22 */]
  1825. 000012EE  4A5F                     tst.w      [A7]+
  1826. 000012F0  6704                     beq        +0x6 /* 000012F6 */
  1827. 000012F2  6000 008A                bra        +0x8C /* 0000137E */
  1828. label000012F6:
  1829. 000012F6  4A6E FFFC                tst.w      [A6 - 0x4]
  1830. 000012FA  6E18                     bgt        +0x1A /* 00001314 */
  1831. 000012FC  3D44 FFFC                move.w     [A6 - 0x4], D4
  1832. 00001300  102E FFFA                move.b     D0, [A6 - 0x6]
  1833. 00001304  660E                     bne        +0x10 /* 00001314 */
  1834. 00001306  4267                     clr.w      -[A7]
  1835. 00001308  486D F1CE                pea.l      [A5 - 0xE32]
  1836. 0000130C  4EAD 173A                jsr        [A5 + 0x173A /* export_739 */]
  1837. 00001310  1D5F FFFA                move.b     [A6 - 0x6], [A7]+
  1838. label00001314:
  1839. 00001314  4A6E FFFE                tst.w      [A6 - 0x2]
  1840. 00001318  6E42                     bgt        +0x44 /* 0000135C */
  1841. 0000131A  3D46 FFFE                move.w     [A6 - 0x2], D6
  1842. 0000131E  102E FFFB                move.b     D0, [A6 - 0x5]
  1843. 00001322  6638                     bne        +0x3A /* 0000135C */
  1844. 00001324  4267                     clr.w      -[A7]
  1845. 00001326  486D F4EC                pea.l      [A5 - 0xB14]
  1846. 0000132A  4EAD 10CA                jsr        [A5 + 0x10CA /* export_533 */]
  1847. 0000132E  1D5F FFFB                move.b     [A6 - 0x5], [A7]+
  1848. 00001332  202E FFEA                move.l     D0, [A6 - 0x16]
  1849. 00001336  D1AE FFEE                add.l      [A6 - 0x12], D0
  1850. label0000133A:
  1851. 0000133A  42A7                     clr.l      -[A7]
  1852. 0000133C  4EBA F9E4                jsr        [PC - 0x61C /* 00000D22 */]
  1853. 00001340  4A5F                     tst.w      [A7]+
  1854. 00001342  663A                     bne        +0x3C /* 0000137E */
  1855. 00001344  302E FFEE                move.w     D0, [A6 - 0x12]
  1856. 00001348  48C0                     ext.l      D0
  1857. 0000134A  2F00                     move.l     -[A7], D0
  1858. 0000134C  42A7                     clr.l      -[A7]
  1859. 0000134E  A975                     syscall    TickCount
  1860. 00001350  221F                     move.l     D1, [A7]+
  1861. 00001352  201F                     move.l     D0, [A7]+
  1862. 00001354  92AE FFCA                sub.l      D1, [A6 - 0x36]
  1863. 00001358  B280                     cmp.l      D1, D0
  1864. 0000135A  6DDE                     blt        -0x20 /* 0000133A */
  1865. label0000135C:
  1866. 0000135C  526E FFA6                addq.w     [A6 - 0x5A], 1
  1867. 00001360  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1868. 00001364  3010                     move.w     D0, [A0]
  1869. 00001366  5340                     subq.w     D0, 1
  1870. 00001368  3F00                     move.w     -[A7], D0
  1871. 0000136A  3F2E FFA6                move.w     -[A7], [A6 - 0x5A]
  1872. 0000136E  4EAD 121A                jsr        [A5 + 0x121A /* export_575 */]
  1873. 00001372  102E FFFA                move.b     D0, [A6 - 0x6]
  1874. 00001376  C02E FFFB                and.b      D0, [A6 - 0x5]
  1875. 0000137A  6700 FF64                beq        -0x9A /* 000012E0 */
  1876. label0000137E:
  1877. 0000137E  4AAD F2A2                tst.l      [A5 - 0xD5E]
  1878. 00001382  6612                     bne        +0x14 /* 00001396 */
  1879. 00001384  41EE FFB6                lea.l      A0, [A6 - 0x4A]
  1880. 00001388  43ED FFF4                lea.l      A1, [A5 - 0xC]
  1881. 0000138C  20D9                     move.l     [A0]+, [A1]+
  1882. 0000138E  20D9                     move.l     [A0]+, [A1]+
  1883. 00001390  486E FFB6                pea.l      [A6 - 0x4A]
  1884. 00001394  A87C                     syscall    BackPat
  1885. label00001396:
  1886. 00001396  486D F4EC                pea.l      [A5 - 0xB14]
  1887. 0000139A  4EAD 10D2                jsr        [A5 + 0x10D2 /* export_534 */]
  1888. 0000139E  7005                     moveq.l    D0, 0x05
  1889. 000013A0  B047                     cmp.w      D0, D7
  1890. 000013A2  56C0                     sne        D0
  1891. 000013A4  C02E FFF8                and.b      D0, [A6 - 0x8]
  1892. 000013A8  6708                     beq        +0xA /* 000013B2 */
  1893. 000013AA  486D F1CE                pea.l      [A5 - 0xE32]
  1894. 000013AE  4EAD 171A                jsr        [A5 + 0x171A /* export_735 */]
  1895. label000013B2:
  1896. 000013B2  102E FFF9                move.b     D0, [A6 - 0x7]
  1897. 000013B6  0A00 0001                xori.b     D0, 0x1
  1898. 000013BA  802E FFA9                or.b       D0, [A6 - 0x57]
  1899. 000013BE  C02E FFF8                and.b      D0, [A6 - 0x8]
  1900. 000013C2  6700 008C                beq        +0x8E /* 00001450 */
  1901. 000013C6  3D6D F1DC FFC8           move.w     [A6 - 0x38], [A5 - 0xE24]
  1902. 000013CC  102E FFF6                move.b     D0, [A6 - 0xA]
  1903. 000013D0  6772                     beq        +0x74 /* 00001444 */
  1904. 000013D2  7002                     moveq.l    D0, 0x02
  1905. 000013D4  B047                     cmp.w      D0, D7
  1906. 000013D6  6604                     bne        +0x6 /* 000013DC */
  1907. 000013D8  4EBA EE2E                jsr        [PC - 0x11D2 /* 00000208 */]
  1908. label000013DC:
  1909. 000013DC  3007                     move.w     D0, D7
  1910. 000013DE  5340                     subq.w     D0, 1
  1911. 000013E0  6716                     beq        +0x18 /* 000013F8 */
  1912. 000013E2  5340                     subq.w     D0, 1
  1913. 000013E4  6712                     beq        +0x14 /* 000013F8 */
  1914. 000013E6  5540                     subq.w     D0, 2
  1915. 000013E8  6740                     beq        +0x42 /* 0000142A */
  1916. 000013EA  5B40                     subq.w     D0, 5
  1917. 000013EC  673C                     beq        +0x3E /* 0000142A */
  1918. 000013EE  5540                     subq.w     D0, 2
  1919. 000013F0  6706                     beq        +0x8 /* 000013F8 */
  1920. 000013F2  5340                     subq.w     D0, 1
  1921. 000013F4  6702                     beq        +0x4 /* 000013F8 */
  1922. 000013F6  6058                     bra        +0x5A /* 00001450 */
  1923. label000013F8:
  1924. 000013F8  486D F1CE                pea.l      [A5 - 0xE32]
  1925. 000013FC  3F05                     move.w     -[A7], D5
  1926. 000013FE  4EBA FB6C                jsr        [PC - 0x494 /* 00000F6C */]
  1927. 00001402  700B                     moveq.l    D0, 0x0B
  1928. 00001404  B047                     cmp.w      D0, D7
  1929. 00001406  660E                     bne        +0x10 /* 00001416 */
  1930. 00001408  486D F1CE                pea.l      [A5 - 0xE32]
  1931. 0000140C  2F0B                     move.l     -[A7], A3
  1932. 0000140E  4EAD 1732                jsr        [A5 + 0x1732 /* export_738 */]
  1933. 00001412  7E05                     moveq.l    D7, 0x05
  1934. 00001414  603A                     bra        +0x3C /* 00001450 */
  1935. label00001416:
  1936. 00001416  700C                     moveq.l    D0, 0x0C
  1937. 00001418  B047                     cmp.w      D0, D7
  1938. 0000141A  6634                     bne        +0x36 /* 00001450 */
  1939. 0000141C  486D F1CE                pea.l      [A5 - 0xE32]
  1940. 00001420  2F0B                     move.l     -[A7], A3
  1941. 00001422  4EAD 1732                jsr        [A5 + 0x1732 /* export_738 */]
  1942. 00001426  7E07                     moveq.l    D7, 0x07
  1943. 00001428  6026                     bra        +0x28 /* 00001450 */
  1944. label0000142A:
  1945. 0000142A  486D F1CE                pea.l      [A5 - 0xE32]
  1946. 0000142E  3F05                     move.w     -[A7], D5
  1947. 00001430  4EBA FB16                jsr        [PC - 0x4EA /* 00000F48 */]
  1948. 00001434  4267                     clr.w      -[A7]
  1949. 00001436  486D F1CE                pea.l      [A5 - 0xE32]
  1950. 0000143A  4EAD 173A                jsr        [A5 + 0x173A /* export_739 */]
  1951. 0000143E  1D5F FFFA                move.b     [A6 - 0x6], [A7]+
  1952. 00001442  600C                     bra        +0xE /* 00001450 */
  1953. label00001444:
  1954. 00001444  7001                     moveq.l    D0, 0x01
  1955. 00001446  B047                     cmp.w      D0, D7
  1956. 00001448  6606                     bne        +0x8 /* 00001450 */
  1957. 0000144A  3F05                     move.w     -[A7], D5
  1958. 0000144C  4EAD 00AA                jsr        [A5 + 0xAA /* export_17 */]
  1959. label00001450:
  1960. 00001450  102E FFF9                move.b     D0, [A6 - 0x7]
  1961. 00001454  6664                     bne        +0x66 /* 000014BA */
  1962. 00001456  102D F4D5                move.b     D0, [A5 - 0xB2B]
  1963. 0000145A  6748                     beq        +0x4A /* 000014A4 */
  1964. 0000145C  102E FFF6                move.b     D0, [A6 - 0xA]
  1965. 00001460  6742                     beq        +0x44 /* 000014A4 */
  1966. 00001462  220B                     move.l     D1, A3
  1967. 00001464  56C1                     sne        D1
  1968. 00001466  C001                     and.b      D0, D1
  1969. 00001468  673A                     beq        +0x3C /* 000014A4 */
  1970. 0000146A  2F0B                     move.l     -[A7], A3
  1971. 0000146C  42A7                     clr.l      -[A7]
  1972. 0000146E  4267                     clr.w      -[A7]
  1973. 00001470  AA39                     syscall    MakeITable
  1974. 00001472  42A7                     clr.l      -[A7]
  1975. 00001474  AA32                     syscall    GetGDevice
  1976. 00001476  205F                     movea.l    A0, [A7]+
  1977. 00001478  2050                     movea.l    A0, [A0]
  1978. 0000147A  2068 0006                movea.l    A0, [A0 + 0x6]
  1979. 0000147E  2050                     movea.l    A0, [A0]
  1980. 00001480  2F08                     move.l     -[A7], A0
  1981. 00001482  42A7                     clr.l      -[A7]
  1982. 00001484  AA32                     syscall    GetGDevice
  1983. 00001486  201F                     move.l     D0, [A7]+
  1984. 00001488  205F                     movea.l    A0, [A7]+
  1985. 0000148A  2240                     movea.l    A1, D0
  1986. 0000148C  2251                     movea.l    A1, [A1]
  1987. 0000148E  2269 0016                movea.l    A1, [A1 + 0x16]
  1988. 00001492  2251                     movea.l    A1, [A1]
  1989. 00001494  2269 002A                movea.l    A1, [A1 + 0x2A]
  1990. 00001498  2251                     movea.l    A1, [A1]
  1991. 0000149A  2091                     move.l     [A0], [A1]
  1992. 0000149C  2B4B F1BE                move.l     [A5 - 0xE42], A3
  1993. 000014A0  4EAD 16EA                jsr        [A5 + 0x16EA /* export_729 */]
  1994. label000014A4:
  1995. 000014A4  1F3C 0001                move.b     -[A7], 0x1
  1996. 000014A8  42A7                     clr.l      -[A7]
  1997. 000014AA  4EBA F548                jsr        [PC - 0xAB8 /* 000009F4 */]
  1998. 000014AE  206D F2FA                movea.l    A0, [A5 - 0xD06]
  1999. 000014B2  3F10                     move.w     -[A7], [A0]
  2000. 000014B4  4267                     clr.w      -[A7]
  2001. 000014B6  4EAD 121A                jsr        [A5 + 0x121A /* export_575 */]
  2002. label000014BA:
  2003. 000014BA  422D F4D5                clr.b      [A5 - 0xB2B]
  2004. 000014BE  7000                     moveq.l    D0, 0x00
  2005. 000014C0  2B40 F1BE                move.l     [A5 - 0xE42], D0
  2006. 000014C4  102E FFF6                move.b     D0, [A6 - 0xA]
  2007. 000014C8  6730                     beq        +0x32 /* 000014FA */
  2008. 000014CA  3007                     move.w     D0, D7
  2009. 000014CC  5B40                     subq.w     D0, 5
  2010. 000014CE  6706                     beq        +0x8 /* 000014D6 */
  2011. 000014D0  5540                     subq.w     D0, 2
  2012. 000014D2  6718                     beq        +0x1A /* 000014EC */
  2013. 000014D4  6024                     bra        +0x26 /* 000014FA */
  2014. label000014D6:
  2015. 000014D6  486D F1CE                pea.l      [A5 - 0xE32]
  2016. 000014DA  206D F2FA                movea.l    A0, [A5 - 0xD06]
  2017. 000014DE  1028 0759                move.b     D0, [A0 + 0x759]
  2018. 000014E2  4880                     ext.w      D0
  2019. 000014E4  3F00                     move.w     -[A7], D0
  2020. 000014E6  4EBA FA16                jsr        [PC - 0x5EA /* 00000EFE */]
  2021. 000014EA  600E                     bra        +0x10 /* 000014FA */
  2022. label000014EC:
  2023. 000014EC  4267                     clr.w      -[A7]
  2024. 000014EE  486D F1CE                pea.l      [A5 - 0xE32]
  2025. 000014F2  4EAD 1742                jsr        [A5 + 0x1742 /* export_740 */]
  2026. 000014F6  1D5F FFFA                move.b     [A6 - 0x6], [A7]+
  2027. label000014FA:
  2028. 000014FA  102E FFF7                move.b     D0, [A6 - 0x9]
  2029. 000014FE  6768                     beq        +0x6A /* 00001568 */
  2030. 00001500  206D F2FA                movea.l    A0, [A5 - 0xD06]
  2031. 00001504  41E8 027E                lea.l      A0, [A0 + 0x27E]
  2032. 00001508  2D48 FF96                move.l     [A6 - 0x6A], A0
  2033. 0000150C  1028 0004                move.b     D0, [A0 + 0x4]
  2034. 00001510  4880                     ext.w      D0
  2035. 00001512  0440 FF80                subi.w     D0, 0xFF80
  2036. 00001516  670A                     beq        +0xC /* 00001522 */
  2037. 00001518  5D40                     subq.w     D0, 6
  2038. 0000151A  6706                     beq        +0x8 /* 00001522 */
  2039. 0000151C  5340                     subq.w     D0, 1
  2040. 0000151E  6702                     beq        +0x4 /* 00001522 */
  2041. 00001520  601C                     bra        +0x1E /* 0000153E */
  2042. label00001522:
  2043. 00001522  4EAD 106A                jsr        [A5 + 0x106A /* export_521 */]
  2044. 00001526  42A7                     clr.l      -[A7]
  2045. 00001528  206E FF96                movea.l    A0, [A6 - 0x6A]
  2046. 0000152C  1028 0004                move.b     D0, [A0 + 0x4]
  2047. 00001530  4880                     ext.w      D0
  2048. 00001532  3F00                     move.w     -[A7], D0
  2049. 00001534  4EBA F8C2                jsr        [PC - 0x73E /* 00000DF8 */]
  2050. 00001538  4EAD 106A                jsr        [A5 + 0x106A /* export_521 */]
  2051. 0000153C  602A                     bra        +0x2C /* 00001568 */
  2052. label0000153E:
  2053. 0000153E  206E FF96                movea.l    A0, [A6 - 0x6A]
  2054. 00001542  1028 0004                move.b     D0, [A0 + 0x4]
  2055. 00001546  4880                     ext.w      D0
  2056. 00001548  C1FC 003C                muls.w     D0, 0x3C /* '<' */
  2057. 0000154C  4440                     neg.w      D0
  2058. 0000154E  48C0                     ext.l      D0
  2059. 00001550  2F00                     move.l     -[A7], D0
  2060. 00001552  42A7                     clr.l      -[A7]
  2061. 00001554  A975                     syscall    TickCount
  2062. 00001556  221F                     move.l     D1, [A7]+
  2063. 00001558  201F                     move.l     D0, [A7]+
  2064. 0000155A  92AE FFCA                sub.l      D1, [A6 - 0x36]
  2065. 0000155E  9081                     sub.l      D0, D1
  2066. 00001560  2F00                     move.l     -[A7], D0
  2067. 00001562  4267                     clr.w      -[A7]
  2068. 00001564  4EBA F892                jsr        [PC - 0x76E /* 00000DF8 */]
  2069. label00001568:
  2070. 00001568  7002                     moveq.l    D0, 0x02
  2071. 0000156A  B047                     cmp.w      D0, D7
  2072. 0000156C  6642                     bne        +0x44 /* 000015B0 */
  2073. 0000156E  102E FFF7                move.b     D0, [A6 - 0x9]
  2074. 00001572  6624                     bne        +0x26 /* 00001598 */
  2075. 00001574  206D F2FA                movea.l    A0, [A5 - 0xD06]
  2076. 00001578  1028 075F                move.b     D0, [A0 + 0x75F]
  2077. 0000157C  4880                     ext.w      D0
  2078. 0000157E  3D40 FFBE                move.w     [A6 - 0x42], D0
  2079. 00001582  6E06                     bgt        +0x8 /* 0000158A */
  2080. 00001584  3D7C 001E FFBE           move.w     [A6 - 0x42], 0x1E
  2081. label0000158A:
  2082. 0000158A  302E FFBE                move.w     D0, [A6 - 0x42]
  2083. 0000158E  48C0                     ext.l      D0
  2084. 00001590  2F00                     move.l     -[A7], D0
  2085. 00001592  4267                     clr.w      -[A7]
  2086. 00001594  4EBA F862                jsr        [PC - 0x79E /* 00000DF8 */]
  2087. label00001598:
  2088. 00001598  486D F1CE                pea.l      [A5 - 0xE32]
  2089. 0000159C  2F0B                     move.l     -[A7], A3
  2090. 0000159E  3F2E FFC8                move.w     -[A7], [A6 - 0x38]
  2091. 000015A2  4EAD 172A                jsr        [A5 + 0x172A /* export_737 */]
  2092. 000015A6  486D F1CE                pea.l      [A5 - 0xE32]
  2093. 000015AA  3F05                     move.w     -[A7], D5
  2094. 000015AC  4EBA F9BE                jsr        [PC - 0x642 /* 00000F6C */]
  2095. label000015B0:
  2096. 000015B0  102D F4F5                move.b     D0, [A5 - 0xB0B]
  2097. 000015B4  670A                     beq        +0xC /* 000015C0 */
  2098. 000015B6  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  2099. 000015BA  AA31                     syscall    SetGDevice
  2100. 000015BC  422D F1DF                clr.b      [A5 - 0xE21]
  2101. label000015C0:
  2102. 000015C0  422D F51A                clr.b      [A5 - 0xAE6]
  2103. label000015C4:
  2104. 000015C4  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  2105. 000015C8  4E5E                     unlink     A6
  2106. 000015CA  4E75                     rts
  2107. 000015CC  4E56 FFFC                link       A6, -0x0004
  2108. 000015D0  2F0C                     move.l     -[A7], A4
  2109. 000015D2  486D F522                pea.l      [A5 - 0xADE]
  2110. 000015D6  4EAD 14CA                jsr        [A5 + 0x14CA /* export_661 */]
  2111. 000015DA  486E FFFC                pea.l      [A6 - 0x4]
  2112. 000015DE  A874                     syscall    GetPort
  2113. 000015E0  2F2D F536                move.l     -[A7], [A5 - 0xACA]
  2114. 000015E4  A873                     syscall    SetPort
  2115. 000015E6  4A2D F51A                tst.b      [A5 - 0xAE6]
  2116. 000015EA  6732                     beq        +0x34 /* 0000161E */
  2117. 000015EC  7000                     moveq.l    D0, 0x00
  2118. 000015EE  102D F51A                move.b     D0, [A5 - 0xAE6]
  2119. 000015F2  C0BC 0000 00FF           and.l      D0, 0xFF
  2120. 000015F8  0C80 0000 00FF           cmpi.l     D0, 0xFF
  2121. 000015FE  6604                     bne        +0x6 /* 00001604 */
  2122. 00001600  422D F51A                clr.b      [A5 - 0xAE6]
  2123. label00001604:
  2124. 00001604  206D F2FA                movea.l    A0, [A5 - 0xD06]
  2125. 00001608  49E8 027E                lea.l      A4, [A0 + 0x27E]
  2126. 0000160C  196D F51A 0005           move.b     [A4 + 0x5], [A5 - 0xAE6]
  2127. 00001612  196D F51D 0002           move.b     [A4 + 0x2], [A5 - 0xAE3]
  2128. 00001618  196D F51F 0003           move.b     [A4 + 0x3], [A5 - 0xAE1]
  2129. label0000161E:
  2130. 0000161E  4EBA F984                jsr        [PC - 0x67C /* 00000FA4 */]
  2131. 00001622  206D F2FA                movea.l    A0, [A5 - 0xD06]
  2132. 00001626  2248                     movea.l    A1, A0
  2133. 00001628  1368 0768 0742           move.b     [A1 + 0x742], [A0 + 0x768]
  2134. 0000162E  102D EEE6                move.b     D0, [A5 - 0x111A]
  2135. 00001632  6714                     beq        +0x16 /* 00001648 */
  2136. 00001634  422D EEE6                clr.b      [A5 - 0x111A]
  2137. 00001638  3F3C 0001                move.w     -[A7], 0x1
  2138. 0000163C  206D F306                movea.l    A0, [A5 - 0xCFA]
  2139. 00001640  3F28 0006                move.w     -[A7], [A0 + 0x6]
  2140. 00001644  4EAD 195A                jsr        [A5 + 0x195A /* export_807 */]
  2141. label00001648:
  2142. 00001648  4EAD 14E2                jsr        [A5 + 0x14E2 /* export_664 */]
  2143. 0000164C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2144. 00001650  A873                     syscall    SetPort
  2145. 00001652  102D EED2                move.b     D0, [A5 - 0x112E]
  2146. 00001656  6708                     beq        +0xA /* 00001660 */
  2147. 00001658  422D EED2                clr.b      [A5 - 0x112E]
  2148. 0000165C  4EAD 1592                jsr        [A5 + 0x1592 /* export_686 */]
  2149. label00001660:
  2150. 00001660  285F                     movea.l    A4, [A7]+
  2151. 00001662  4E5E                     unlink     A6
  2152. 00001664  205F                     movea.l    A0, [A7]+
  2153. 00001666  544F                     addq.w     A7, 2
  2154. 00001668  4ED0                     jmp        [A0]
  2155. 0000166A  4E56 FFE6                link       A6, -0x001A
  2156. 0000166E  48E7 0118                movem.l    -[A7], D7,A3,A4
  2157. 00001672  206E 0008                movea.l    A0, [A6 + 0x8]
  2158. 00001676  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2159. 0000167A  22D8                     move.l     [A1]+, [A0]+
  2160. 0000167C  22D8                     move.l     [A1]+, [A0]+
  2161. 0000167E  7000                     moveq.l    D0, 0x00
  2162. 00001680  2B40 F2A2                move.l     [A5 - 0xD5E], D0
  2163. 00001684  42A7                     clr.l      -[A7]
  2164. 00001686  A8D8                     syscall    NewRgn
  2165. 00001688  285F                     movea.l    A4, [A7]+
  2166. 0000168A  2F0C                     move.l     -[A7], A4
  2167. 0000168C  486E FFF8                pea.l      [A6 - 0x8]
  2168. 00001690  A8DF                     syscall    RectRgn
  2169. 00001692  42A7                     clr.l      -[A7]
  2170. 00001694  A8D8                     syscall    NewRgn
  2171. 00001696  265F                     movea.l    A3, [A7]+
  2172. 00001698  2F0B                     move.l     -[A7], A3
  2173. 0000169A  486D F29A                pea.l      [A5 - 0xD66]
  2174. 0000169E  A8DF                     syscall    RectRgn
  2175. 000016A0  2F0C                     move.l     -[A7], A4
  2176. 000016A2  2F0B                     move.l     -[A7], A3
  2177. 000016A4  2F0C                     move.l     -[A7], A4
  2178. 000016A6  A8E6                     syscall    DiffRgn
  2179. 000016A8  2054                     movea.l    A0, [A4]
  2180. 000016AA  43EE FFF0                lea.l      A1, [A6 - 0x10]
  2181. 000016AE  5488                     addq.l     A0, 2
  2182. 000016B0  22D8                     move.l     [A1]+, [A0]+
  2183. 000016B2  22D8                     move.l     [A1]+, [A0]+
  2184. 000016B4  2F0C                     move.l     -[A7], A4
  2185. 000016B6  A8D9                     syscall    DisposRgn/DisposeRgn
  2186. 000016B8  2F0B                     move.l     -[A7], A3
  2187. 000016BA  A8D9                     syscall    DisposRgn/DisposeRgn
  2188. 000016BC  486E FFF0                pea.l      [A6 - 0x10]
  2189. 000016C0  4EBA EBAC                jsr        [PC - 0x1454 /* 0000026E */]
  2190. 000016C4  4267                     clr.w      -[A7]
  2191. 000016C6  486E FFF8                pea.l      [A6 - 0x8]
  2192. 000016CA  486D F29A                pea.l      [A5 - 0xD66]
  2193. 000016CE  486E FFF8                pea.l      [A6 - 0x8]
  2194. 000016D2  A8AA                     syscall    SectRect
  2195. 000016D4  101F                     move.b     D0, [A7]+
  2196. 000016D6  6718                     beq        +0x1A /* 000016F0 */
  2197. 000016D8  206D F306                movea.l    A0, [A5 - 0xCFA]
  2198. 000016DC  3E10                     move.w     D7, [A0]
  2199. 000016DE  30AD F298                move.w     [A0], [A5 - 0xD68]
  2200. 000016E2  486E FFF8                pea.l      [A6 - 0x8]
  2201. 000016E6  4EBA EB86                jsr        [PC - 0x147A /* 0000026E */]
  2202. 000016EA  206D F306                movea.l    A0, [A5 - 0xCFA]
  2203. 000016EE  3087                     move.w     [A0], D7
  2204. label000016F0:
  2205. 000016F0  41FA FF78                lea.l      A0, [PC - 0x88 /* 0000166A, value 0x4E56FFE6 */]
  2206. 000016F4  2B48 F2A2                move.l     [A5 - 0xD5E], A0
  2207. 000016F8  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  2208. 000016FC  4E5E                     unlink     A6
  2209. 000016FE  2E9F                     move.l     [A7], [A7]+
  2210. 00001700  4E75                     rts
  2211. 00001702  4E56 FFF8                link       A6, -0x0008
  2212. 00001706  206E 000A                movea.l    A0, [A6 + 0xA]
  2213. 0000170A  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2214. 0000170E  22D8                     move.l     [A1]+, [A0]+
  2215. 00001710  22D8                     move.l     [A1]+, [A0]+
  2216. 00001712  4267                     clr.w      -[A7]
  2217. 00001714  486E FFF8                pea.l      [A6 - 0x8]
  2218. 00001718  A8AE                     syscall    EmptyRect
  2219. 0000171A  101F                     move.b     D0, [A7]+
  2220. 0000171C  6708                     beq        +0xA /* 00001726 */
  2221. 0000171E  7000                     moveq.l    D0, 0x00
  2222. 00001720  2B40 F2A2                move.l     [A5 - 0xD5E], D0
  2223. 00001724  601A                     bra        +0x1C /* 00001740 */
  2224. label00001726:
  2225. 00001726  41ED F29A                lea.l      A0, [A5 - 0xD66]
  2226. 0000172A  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2227. 0000172E  20D9                     move.l     [A0]+, [A1]+
  2228. 00001730  20D9                     move.l     [A0]+, [A1]+
  2229. 00001732  3B6E 0008 F298           move.w     [A5 - 0xD68], [A6 + 0x8]
  2230. 00001738  41FA FF30                lea.l      A0, [PC - 0xD0 /* 0000166A, value 0x4E56FFE6 */]
  2231. 0000173C  2B48 F2A2                move.l     [A5 - 0xD5E], A0
  2232. label00001740:
  2233. 00001740  4E5E                     unlink     A6
  2234. 00001742  205F                     movea.l    A0, [A7]+
  2235. 00001744  5C4F                     addq.w     A7, 6
  2236. 00001746  4ED0                     jmp        [A0]
  2237. 00001748  4E56 FFDA                link       A6, -0x0026
  2238. 0000174C  48E7 0118                movem.l    -[A7], D7,A3,A4
  2239. 00001750  206E 0008                movea.l    A0, [A6 + 0x8]
  2240. 00001754  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2241. 00001758  22D8                     move.l     [A1]+, [A0]+
  2242. 0000175A  22D8                     move.l     [A1]+, [A0]+
  2243. 0000175C  4267                     clr.w      -[A7]
  2244. 0000175E  486E FFF8                pea.l      [A6 - 0x8]
  2245. 00001762  486D F030                pea.l      [A5 - 0xFD0]
  2246. 00001766  486E FFEC                pea.l      [A6 - 0x14]
  2247. 0000176A  A8AA                     syscall    SectRect
  2248. 0000176C  1E1F                     move.b     D7, [A7]+
  2249. 0000176E  4267                     clr.w      -[A7]
  2250. 00001770  486E FFF8                pea.l      [A6 - 0x8]
  2251. 00001774  486E FFEC                pea.l      [A6 - 0x14]
  2252. 00001778  A8A6                     syscall    EqualRect
  2253. 0000177A  101F                     move.b     D0, [A7]+
  2254. 0000177C  6630                     bne        +0x32 /* 000017AE */
  2255. 0000177E  42A7                     clr.l      -[A7]
  2256. 00001780  A8D8                     syscall    NewRgn
  2257. 00001782  285F                     movea.l    A4, [A7]+
  2258. 00001784  2F0C                     move.l     -[A7], A4
  2259. 00001786  486E FFF8                pea.l      [A6 - 0x8]
  2260. 0000178A  A8DF                     syscall    RectRgn
  2261. 0000178C  42A7                     clr.l      -[A7]
  2262. 0000178E  A8D8                     syscall    NewRgn
  2263. 00001790  265F                     movea.l    A3, [A7]+
  2264. 00001792  2F0B                     move.l     -[A7], A3
  2265. 00001794  486E FFEC                pea.l      [A6 - 0x14]
  2266. 00001798  A8DF                     syscall    RectRgn
  2267. 0000179A  2F0C                     move.l     -[A7], A4
  2268. 0000179C  2F0B                     move.l     -[A7], A3
  2269. 0000179E  2F0C                     move.l     -[A7], A4
  2270. 000017A0  A8E6                     syscall    DiffRgn
  2271. 000017A2  2F0C                     move.l     -[A7], A4
  2272. 000017A4  A8D4                     syscall    EraseRgn
  2273. 000017A6  2F0C                     move.l     -[A7], A4
  2274. 000017A8  A8D9                     syscall    DisposRgn/DisposeRgn
  2275. 000017AA  2F0B                     move.l     -[A7], A3
  2276. 000017AC  A8D9                     syscall    DisposRgn/DisposeRgn
  2277. label000017AE:
  2278. 000017AE  4AAD F026                tst.l      [A5 - 0xFDA]
  2279. 000017B2  672E                     beq        +0x30 /* 000017E2 */
  2280. 000017B4  486E FFF4                pea.l      [A6 - 0xC]
  2281. 000017B8  A874                     syscall    GetPort
  2282. 000017BA  42A7                     clr.l      -[A7]
  2283. 000017BC  486D F026                pea.l      [A5 - 0xFDA]
  2284. 000017C0  4EAD 136A                jsr        [A5 + 0x136A /* export_617 */]
  2285. 000017C4  206E FFF4                movea.l    A0, [A6 - 0xC]
  2286. 000017C8  4868 0002                pea.l      [A0 + 0x2]
  2287. 000017CC  486E FFEC                pea.l      [A6 - 0x14]
  2288. 000017D0  486E FFEC                pea.l      [A6 - 0x14]
  2289. 000017D4  4267                     clr.w      -[A7]
  2290. 000017D6  42A7                     clr.l      -[A7]
  2291. 000017D8  A8EC                     syscall    CopyBits
  2292. 000017DA  486D F026                pea.l      [A5 - 0xFDA]
  2293. 000017DE  4EAD 1372                jsr        [A5 + 0x1372 /* export_618 */]
  2294. label000017E2:
  2295. 000017E2  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  2296. 000017E6  4E5E                     unlink     A6
  2297. 000017E8  2E9F                     move.l     [A7], [A7]+
  2298. 000017EA  4E75                     rts
  2299. 000017EC  4E56 0000                link       A6, 0
  2300. 000017F0  4AAD F2A2                tst.l      [A5 - 0xD5E]
  2301. 000017F4  671E                     beq        +0x20 /* 00001814 */
  2302. 000017F6  4267                     clr.w      -[A7]
  2303. 000017F8  486D F29A                pea.l      [A5 - 0xD66]
  2304. 000017FC  A8AE                     syscall    EmptyRect
  2305. 000017FE  101F                     move.b     D0, [A7]+
  2306. 00001800  670A                     beq        +0xC /* 0000180C */
  2307. 00001802  41FA FF44                lea.l      A0, [PC - 0xBC /* 00001748, value 0x4E56FFDA */]
  2308. 00001806  2B48 F2A2                move.l     [A5 - 0xD5E], A0
  2309. 0000180A  6008                     bra        +0xA /* 00001814 */
  2310. label0000180C:
  2311. 0000180C  41FA FE5C                lea.l      A0, [PC - 0x1A4 /* 0000166A, value 0x4E56FFE6 */]
  2312. 00001810  2B48 F2A2                move.l     [A5 - 0xD5E], A0
  2313. label00001814:
  2314. 00001814  4E5E                     unlink     A6
  2315. 00001816  4E75                     rts
  2316. 00001818  4E56 FFE6                link       A6, -0x001A
  2317. 0000181C  48E7 0700                movem.l    -[A7], D5,D6,D7
  2318. 00001820  206E 0010                movea.l    A0, [A6 + 0x10]
  2319. 00001824  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2320. 00001828  22D8                     move.l     [A1]+, [A0]+
  2321. 0000182A  22D8                     move.l     [A1]+, [A0]+
  2322. 0000182C  206E 000C                movea.l    A0, [A6 + 0xC]
  2323. 00001830  43EE FFF0                lea.l      A1, [A6 - 0x10]
  2324. 00001834  22D8                     move.l     [A1]+, [A0]+
  2325. 00001836  22D8                     move.l     [A1]+, [A0]+
  2326. 00001838  1E2E 0008                move.b     D7, [A6 + 0x8]
  2327. 0000183C  486D F026                pea.l      [A5 - 0xFDA]
  2328. 00001840  4EAD 138A                jsr        [A5 + 0x138A /* export_621 */]
  2329. 00001844  4A6D F02E                tst.w      [A5 - 0xFD2]
  2330. 00001848  6C08                     bge        +0xA /* 00001852 */
  2331. 0000184A  486D F02A                pea.l      [A5 - 0xFD6]
  2332. 0000184E  4EAD 138A                jsr        [A5 + 0x138A /* export_621 */]
  2333. label00001852:
  2334. 00001852  7000                     moveq.l    D0, 0x00
  2335. 00001854  2B40 F2A2                move.l     [A5 - 0xD5E], D0
  2336. 00001858  102E 000A                move.b     D0, [A6 + 0xA]
  2337. 0000185C  6604                     bne        +0x6 /* 00001862 */
  2338. 0000185E  6000 00F6                bra        +0xF8 /* 00001956 */
  2339. label00001862:
  2340. 00001862  486D F29A                pea.l      [A5 - 0xD66]
  2341. 00001866  4EAD 14CA                jsr        [A5 + 0x14CA /* export_661 */]
  2342. 0000186A  102D F4F5                move.b     D0, [A5 - 0xB0B]
  2343. 0000186E  6602                     bne        +0x4 /* 00001872 */
  2344. 00001870  4207                     clr.b      D7
  2345. label00001872:
  2346. 00001872  422D F2C0                clr.b      [A5 - 0xD40]
  2347. 00001876  4267                     clr.w      -[A7]
  2348. 00001878  486E FFF0                pea.l      [A6 - 0x10]
  2349. 0000187C  1F3C 0001                move.b     -[A7], 0x1
  2350. 00001880  4EAD 145A                jsr        [A5 + 0x145A /* export_647 */]
  2351. 00001884  1A1F                     move.b     D5, [A7]+
  2352. 00001886  1B7C 0001 F2C0           move.b     [A5 - 0xD40], 0x1
  2353. 0000188C  41ED F030                lea.l      A0, [A5 - 0xFD0]
  2354. 00001890  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2355. 00001894  20D9                     move.l     [A0]+, [A1]+
  2356. 00001896  20D9                     move.l     [A0]+, [A1]+
  2357. 00001898  426D F02E                clr.w      [A5 - 0xFD2]
  2358. 0000189C  1007                     move.b     D0, D7
  2359. 0000189E  6728                     beq        +0x2A /* 000018C8 */
  2360. 000018A0  42A7                     clr.l      -[A7]
  2361. 000018A2  4267                     clr.w      -[A7]
  2362. 000018A4  4EAD 167A                jsr        [A5 + 0x167A /* export_715 */]
  2363. 000018A8  2D5F FFE6                move.l     [A6 - 0x1A], [A7]+
  2364. 000018AC  2B6E FFE6 F02A           move.l     [A5 - 0xFD6], [A6 - 0x1A]
  2365. 000018B2  206E FFE6                movea.l    A0, [A6 - 0x1A]
  2366. 000018B6  2050                     movea.l    A0, [A0]
  2367. 000018B8  5C88                     addq.l     A0, 6
  2368. 000018BA  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2369. 000018BE  20D9                     move.l     [A0]+, [A1]+
  2370. 000018C0  20D9                     move.l     [A0]+, [A1]+
  2371. 000018C2  3B7C 8000 F02E           move.w     [A5 - 0xFD2], 0x8000
  2372. label000018C8:
  2373. 000018C8  42A7                     clr.l      -[A7]
  2374. 000018CA  486D F02A                pea.l      [A5 - 0xFD6]
  2375. 000018CE  4EAD 0082                jsr        [A5 + 0x82 /* export_12 */]
  2376. 000018D2  2C1F                     move.l     D6, [A7]+
  2377. 000018D4  42A7                     clr.l      -[A7]
  2378. 000018D6  2F06                     move.l     -[A7], D6
  2379. 000018D8  4EAD 0202                jsr        [A5 + 0x202 /* export_60 */]
  2380. 000018DC  2B5F F026                move.l     [A5 - 0xFDA], [A7]+
  2381. 000018E0  4267                     clr.w      -[A7]
  2382. 000018E2  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2383. 000018E6  4A5F                     tst.w      [A7]+
  2384. 000018E8  665C                     bne        +0x5E /* 00001946 */
  2385. 000018EA  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  2386. 000018EE  42A7                     clr.l      -[A7]
  2387. 000018F0  486D F026                pea.l      [A5 - 0xFDA]
  2388. 000018F4  4EAD 136A                jsr        [A5 + 0x136A /* export_617 */]
  2389. 000018F8  486E FFF8                pea.l      [A6 - 0x8]
  2390. 000018FC  486E FFF8                pea.l      [A6 - 0x8]
  2391. 00001900  4267                     clr.w      -[A7]
  2392. 00001902  42A7                     clr.l      -[A7]
  2393. 00001904  A8EC                     syscall    CopyBits
  2394. 00001906  486D F026                pea.l      [A5 - 0xFDA]
  2395. 0000190A  4EAD 1372                jsr        [A5 + 0x1372 /* export_618 */]
  2396. 0000190E  486D F030                pea.l      [A5 - 0xFD0]
  2397. 00001912  302D F4EE                move.w     D0, [A5 - 0xB12]
  2398. 00001916  906D F032                sub.w      D0, [A5 - 0xFCE]
  2399. 0000191A  3F00                     move.w     -[A7], D0
  2400. 0000191C  302D F4EC                move.w     D0, [A5 - 0xB14]
  2401. 00001920  906D F030                sub.w      D0, [A5 - 0xFD0]
  2402. 00001924  3F00                     move.w     -[A7], D0
  2403. 00001926  A8A8                     syscall    OffsetRect
  2404. 00001928  1007                     move.b     D0, D7
  2405. 0000192A  6710                     beq        +0x12 /* 0000193C */
  2406. 0000192C  206E FFE6                movea.l    A0, [A6 - 0x1A]
  2407. 00001930  2050                     movea.l    A0, [A0]
  2408. 00001932  5C88                     addq.l     A0, 6
  2409. 00001934  43ED F030                lea.l      A1, [A5 - 0xFD0]
  2410. 00001938  20D9                     move.l     [A0]+, [A1]+
  2411. 0000193A  20D9                     move.l     [A0]+, [A1]+
  2412. label0000193C:
  2413. 0000193C  41FA FE0A                lea.l      A0, [PC - 0x1F6 /* 00001748, value 0x4E56FFDA */]
  2414. 00001940  2B48 F2A2                move.l     [A5 - 0xD5E], A0
  2415. 00001944  6010                     bra        +0x12 /* 00001956 */
  2416. label00001946:
  2417. 00001946  1007                     move.b     D0, D7
  2418. 00001948  6708                     beq        +0xA /* 00001952 */
  2419. 0000194A  486E FFE6                pea.l      [A6 - 0x1A]
  2420. 0000194E  4EAD 138A                jsr        [A5 + 0x138A /* export_621 */]
  2421. label00001952:
  2422. 00001952  426D F02E                clr.w      [A5 - 0xFD2]
  2423. label00001956:
  2424. 00001956  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  2425. 0000195A  4E5E                     unlink     A6
  2426. 0000195C  205F                     movea.l    A0, [A7]+
  2427. 0000195E  DEFC 0014                add.w      A7, 0x14
  2428. 00001962  4ED0                     jmp        [A0]
  2429.